Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TAM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Labrador
TAM
Merge requests
!332
Resolve "Publish/Draft job offers"
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Resolve "Publish/Draft job offers"
41-publish-draft-job-offers
into
dev
Overview
17
Commits
24
Pipelines
46
Changes
18
Merged
Resolve "Publish/Draft job offers"
Danae Savvidi
requested to merge
41-publish-draft-job-offers
into
dev
Sep 28, 2023
Overview
9
Commits
24
Pipelines
46
Changes
18
Closes
#41 (closed)
0
0
Merge request reports
Compare
dev
version 21
e7014fba
Oct 18, 2023
version 20
eef35d77
Oct 18, 2023
version 19
6ae49f45
Oct 17, 2023
version 18
afa4f4f1
Oct 17, 2023
version 17
33428343
Oct 11, 2023
version 16
d7c9e871
Oct 11, 2023
version 15
e88ee676
Oct 10, 2023
version 14
410936b8
Oct 6, 2023
version 13
94e9e59a
Oct 3, 2023
version 12
b21db7c9
Oct 3, 2023
version 11
d19059cd
Oct 3, 2023
version 10
25873b44
Oct 3, 2023
version 9
37ce40f5
Oct 3, 2023
version 8
ae96244e
Oct 3, 2023
version 7
7102e3e5
Oct 3, 2023
version 6
3a828301
Oct 3, 2023
version 5
b2b92959
Oct 3, 2023
version 4
d7955314
Sep 28, 2023
version 3
509ac804
Sep 28, 2023
version 2
38ec4878
Sep 28, 2023
version 1
697c88ed
Sep 28, 2023
dev (base)
and
latest version
latest version
3ab5bd3b
24 commits,
Oct 18, 2023
version 21
e7014fba
23 commits,
Oct 18, 2023
version 20
eef35d77
22 commits,
Oct 18, 2023
version 19
6ae49f45
20 commits,
Oct 17, 2023
version 18
afa4f4f1
19 commits,
Oct 17, 2023
version 17
33428343
18 commits,
Oct 11, 2023
version 16
d7c9e871
17 commits,
Oct 11, 2023
version 15
e88ee676
16 commits,
Oct 10, 2023
version 14
410936b8
15 commits,
Oct 6, 2023
version 13
94e9e59a
14 commits,
Oct 3, 2023
version 12
b21db7c9
13 commits,
Oct 3, 2023
version 11
d19059cd
12 commits,
Oct 3, 2023
version 10
25873b44
11 commits,
Oct 3, 2023
version 9
37ce40f5
10 commits,
Oct 3, 2023
version 8
ae96244e
9 commits,
Oct 3, 2023
version 7
7102e3e5
7 commits,
Oct 3, 2023
version 6
3a828301
6 commits,
Oct 3, 2023
version 5
b2b92959
5 commits,
Oct 3, 2023
version 4
d7955314
4 commits,
Sep 28, 2023
version 3
509ac804
3 commits,
Sep 28, 2023
version 2
38ec4878
2 commits,
Sep 28, 2023
version 1
697c88ed
1 commit,
Sep 28, 2023
18 files
+
266
−
7
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
18
src/main/java/nl/tudelft/tam/controller/JobOfferController.java
+
12
−
0
View file @ 3ab5bd3b
Edit in single-file editor
Open in Web IDE
Show full file
@@ -454,6 +454,18 @@ public class JobOfferController {
@@ -454,6 +454,18 @@ public class JobOfferController {
.
body
(
resource
);
.
body
(
resource
);
}
}
/**
* Toggles the hiding of a job offer.
*
* @param id The id of the job offer.
* @return The page to load
*/
@PostMapping
(
"{id}/toggle-hide"
)
@PreAuthorize
(
"@authorisationService.isManagerOfAny()"
)
public
String
toggleHide
(
@PathVariable
Long
id
)
{
jobOfferService
.
toggleHide
(
id
);
return
"redirect:/job-offer/"
+
id
;
}
// endregion
// endregion
}
}
Loading