1.1.0 #2
2 changed files with 17 additions and 4 deletions
|
@ -13,6 +13,7 @@
|
|||
|
||||
{{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,17 +28,29 @@
|
|||
{{/* No links */}}
|
||||
{{else if .IsSigned}}
|
||||
{{if not .UnitIssuesGlobalDisabled}}
|
||||
<a class="item{{if .PageIsIssues}} active{{end}}" href="{{AppSubUrl}}/issues">{{ctx.Locale.Tr "issues"}}</a>
|
||||
<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>
|
||||
{{end}}
|
||||
{{if not .UnitPullsGlobalDisabled}}
|
||||
<a class="item{{if .PageIsPulls}} active{{end}}" href="{{AppSubUrl}}/pulls">{{ctx.Locale.Tr "pull_requests"}}</a>
|
||||
<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>
|
||||
{{end}}
|
||||
{{if not (and .UnitIssuesGlobalDisabled .UnitPullsGlobalDisabled)}}
|
||||
{{if .ShowMilestonesDashboardPage}}
|
||||
<a class="item{{if .PageIsMilestonesDashboard}} active{{end}}" href="{{AppSubUrl}}/milestones">{{ctx.Locale.Tr "milestones"}}</a>
|
||||
<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>
|
||||
{{end}}
|
||||
{{end}}
|
||||
<a class="item{{if .PageIsExplore}} active{{end}}" href="{{AppSubUrl}}/explore/repos">{{ctx.Locale.Tr "explore"}}</a>
|
||||
<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>
|
||||
{{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