Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • Project Page Project Page
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • m4lab_tv1
  • Project PageProject Page
  • Merge requests
  • !72

call a function from generalFunction.js

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Rosanny Sihombing requested to merge MLAB-576 into testing 3 years ago
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2
  • Rosanny Sihombing @sihombing mentioned in commit 3a95aff8 3 years ago

    mentioned in commit 3a95aff8

  • Rosanny Sihombing @sihombing merged 3 years ago

    merged

  • Loading
  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • testing (base)

and
  • latest version
    ca127401
    1 commit, 3 years ago

2 files
+ 4
- 18

    Preferences

    File browser
    Compare changes
views/DE‎/project‎
pagesL‎ist.pug‎ +2 -9
project‎List.pug‎ +2 -9
views/DE/project/pagesList.pug
+ 2
- 9
  • View file @ ca127401

  • Edit in single-file editor

  • Open in Web IDE


@@ -72,6 +72,8 @@ html(lang="de")
@@ -72,6 +72,8 @@ html(lang="de")
script(src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous")
script(src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous")
// Header
// Header
script(src="/js/headfoot.js")
script(src="/js/headfoot.js")
 
// General functions
 
script(src="/js/generalFunction.js")
script.
script.
function searchFunction() {
function searchFunction() {
var input = document.getElementById("searchInput")
var input = document.getElementById("searchInput")
@@ -105,15 +107,6 @@ html(lang="de")
@@ -105,15 +107,6 @@ html(lang="de")
$("#sortingSelect").change(function() {
$("#sortingSelect").change(function() {
window.location.replace('/projektinformationen?sort='+$("#sortingSelect").val())
window.location.replace('/projektinformationen?sort='+$("#sortingSelect").val())
});
});
function getQueryStringParams(params, url) {
// first decode URL to get readable data
var href = decodeURIComponent(url || window.location.href);
// regular expression to get value
var regEx = new RegExp('[?&]' + params + '=([^&#]*)', 'i');
var value = regEx.exec(href);
// return the value if exist
return value ? value[1] : null;
}
function setSortSelect() {
function setSortSelect() {
let sortKeyword = getQueryStringParams('sort', window.location.href)
let sortKeyword = getQueryStringParams('sort', window.location.href)
if (sortKeyword == "created_at") {
if (sortKeyword == "created_at") {
views/DE/project/projectList.pug
+ 2
- 9
  • View file @ ca127401

  • Edit in single-file editor

  • Open in Web IDE


@@ -72,6 +72,8 @@ html(lang="de")
@@ -72,6 +72,8 @@ html(lang="de")
script(src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous")
script(src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous")
// Header
// Header
script(src="/js/headfoot.js")
script(src="/js/headfoot.js")
 
// General functions
 
script(src="/js/generalFunction.js")
script.
script.
function searchFunction() {
function searchFunction() {
var input = document.getElementById("searchInput")
var input = document.getElementById("searchInput")
@@ -105,15 +107,6 @@ html(lang="de")
@@ -105,15 +107,6 @@ html(lang="de")
$("#sortingSelect").change(function() {
$("#sortingSelect").change(function() {
window.location.replace('/projektdaten?sort='+$("#sortingSelect").val())
window.location.replace('/projektdaten?sort='+$("#sortingSelect").val())
});
});
function getQueryStringParams(params, url) {
// first decode URL to get readable data
var href = decodeURIComponent(url || window.location.href);
// regular expression to get value
var regEx = new RegExp('[?&]' + params + '=([^&#]*)', 'i');
var value = regEx.exec(href);
// return the value if exist
return value ? value[1] : null;
}
function setSortSelect() {
function setSortSelect() {
let sortKeyword = getQueryStringParams('sort', window.location.href)
let sortKeyword = getQueryStringParams('sort', window.location.href)
if (sortKeyword == "created_at") {
if (sortKeyword == "created_at") {
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
1
1 participant
Rosanny Sihombing
Reference: m4lab_tv1/project-page!72
Source branch: MLAB-576

Menu

Explore Projects Groups Snippets

Dies ist die Gitlab-Instanz des Transferportals der Hochschule für Technik Stuttgart. Hier geht es zurück zum Portal