Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Queue
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
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Queue
Merge requests
!600
Fix homepage with archived editions
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Fix homepage with archived editions
fix-homepage-with-archived-editions
into
development
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Fix homepage with archived editions
Ruben Backx
requested to merge
fix-homepage-with-archived-editions
into
development
Aug 30, 2022
Overview
0
Commits
1
Pipelines
0
Changes
2
0
0
Merge request reports
Compare
development
version 1
805a5803
Aug 30, 2022
development (base)
and
latest version
latest version
5aa4ae6e
1 commit,
Aug 30, 2022
version 1
805a5803
1 commit,
Aug 30, 2022
2 files
+
7
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
src/main/resources/templates/home/dashboard.html
+
7
−
7
View file @ 5aa4ae6e
Edit in single-file editor
Open in Web IDE
Show full file
@@ -226,13 +226,13 @@
<h3>
Archived courses
</h3>
<ul
class=
"list-group"
>
<
li
class=
"list-group-item"
th:each=
"role : ${archivedRoles}"
th:with=
"edition = ${editions.get(role.edition.id)}"
th:if=
"${!edition.isArchived
}"
>
<a
th:href=
"@{/edition/{id}(id=${edition.id})}"
th:text=
"
|
${
edition.course.name} (${edition.name})|"
></a
>
<
span
th:text=
"${'(' + @roleDTOService.typeDisplayName(role.type.toString()) + ')'}"
></span
>
</
li
>
<
th:block
th:each=
"role : ${archivedRoles}"
th:with=
"edition = ${editions.get(role.edition.id)}"
>
<li
class=
"list-group-item"
>
<a
th:href=
"@{/edition/{id}(id=${edition.id})
}"
th:text=
"|${edition.course.name} (${edition.name})|"
></a>
<span
th:text=
"${
'(' + @roleDTOService.typeDisplayName(role.type.toString()) + ')'}"
></span
>
<
/li
>
</
th:block
>
</ul>
</div>
</div>
Loading