Compare commits
No commits in common. "503467fbdef0988e73dc9df8a73027eb8decec4f" and "ef6082b75b9bfbfbf01cbfbdb2a88a665f2e9619" have entirely different histories.
503467fbde
...
ef6082b75b
2 changed files with 4 additions and 17 deletions
|
@ -13,7 +13,6 @@
|
|||
|
||||
{{template "base/footer_content" .}}
|
||||
|
||||
<script src="https://kit.fontawesome.com/46e4b2c245.js" crossorigin="anonymous"></script>
|
||||
<script src="{{AssetUrlPrefix}}/js/index.js?v={{AssetVersion}}" onerror="alert('{{ctx.Locale.Tr "alert.asset_load_failed"}}'.replace('{path}', this.src))"></script>
|
||||
<script src="/assets/js/loomScripts.js"></script>
|
||||
|
||||
|
|
|
@ -28,29 +28,17 @@
|
|||
{{/* No links */}}
|
||||
{{else if .IsSigned}}
|
||||
{{if not .UnitIssuesGlobalDisabled}}
|
||||
<a class="item{{if .PageIsIssues}} active{{end}}" href="{{AppSubUrl}}/issues">
|
||||
<i class="fa-solid fa-circle-exclamation" style="color: #cc7373; margin-right: .5rem"></i>
|
||||
{{ctx.Locale.Tr "issues"}}
|
||||
</a>
|
||||
<a class="item{{if .PageIsIssues}} active{{end}}" href="{{AppSubUrl}}/issues">{{ctx.Locale.Tr "issues"}}</a>
|
||||
{{end}}
|
||||
{{if not .UnitPullsGlobalDisabled}}
|
||||
<a class="item{{if .PageIsPulls}} active{{end}}" href="{{AppSubUrl}}/pulls">
|
||||
<i class="fa-solid fa-code-pull-request" style="color: #94ccbe; margin-right: .5rem"></i>
|
||||
{{ctx.Locale.Tr "pull_requests"}}
|
||||
</a>
|
||||
<a class="item{{if .PageIsPulls}} active{{end}}" href="{{AppSubUrl}}/pulls">{{ctx.Locale.Tr "pull_requests"}}</a>
|
||||
{{end}}
|
||||
{{if not (and .UnitIssuesGlobalDisabled .UnitPullsGlobalDisabled)}}
|
||||
{{if .ShowMilestonesDashboardPage}}
|
||||
<a class="item{{if .PageIsMilestonesDashboard}} active{{end}}" href="{{AppSubUrl}}/milestones">
|
||||
<i class="fa-solid fa-sign-post" style="margin-right: .5rem; color: #d7d496;"></i>
|
||||
{{ctx.Locale.Tr "milestones"}}
|
||||
</a>
|
||||
<a class="item{{if .PageIsMilestonesDashboard}} active{{end}}" href="{{AppSubUrl}}/milestones">{{ctx.Locale.Tr "milestones"}}</a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
<a class="item{{if .PageIsExplore}} active{{end}}" href="{{AppSubUrl}}/explore/repos">
|
||||
<i class="fa-solid fa-binoculars" style="color: #777dff; margin-right: .5rem"></i>
|
||||
{{ctx.Locale.Tr "explore"}}
|
||||
</a>
|
||||
<a class="item{{if .PageIsExplore}} active{{end}}" href="{{AppSubUrl}}/explore/repos">{{ctx.Locale.Tr "explore"}}</a>
|
||||
{{else if .IsLandingPageOrganizations}}
|
||||
<a class="item{{if .PageIsExplore}} active{{end}}" href="{{AppSubUrl}}/explore/organizations">{{ctx.Locale.Tr "explore"}}</a>
|
||||
{{else}}
|
||||
|
|
Loading…
Add table
Reference in a new issue