mirror of https://github.com/go-gitea/gitea.git
fix init-tabs bug
This commit is contained in:
parent
c1a3d4fefb
commit
a8623ec104
|
@ -1,5 +1,5 @@
|
||||||
<div id="user-setting-nav" class="col-md-3 admin-nav">
|
<div id="user-setting-nav" class="col-md-3 admin-nav">
|
||||||
<ul class="list-group" data-init="tabs">
|
<ul class="list-group">
|
||||||
<li class="list-group-item{{if .PageIsDashboard}} active{{end}}"><a href="/admin"><i class="fa fa-tachometer fa-lg"></i> Dashboard</a></li>
|
<li class="list-group-item{{if .PageIsDashboard}} active{{end}}"><a href="/admin"><i class="fa fa-tachometer fa-lg"></i> Dashboard</a></li>
|
||||||
<li class="list-group-item{{if .PageIsUsers}} active{{end}}"><a href="/admin/users"><i class="fa fa-users fa-lg"></i> Users</a></li>
|
<li class="list-group-item{{if .PageIsUsers}} active{{end}}"><a href="/admin/users"><i class="fa fa-users fa-lg"></i> Users</a></li>
|
||||||
<li class="list-group-item{{if .PageIsRepos}} active{{end}}"><a href="/admin/repos"><i class="fa fa-book fa-lg"></i> Repositories</a></li>
|
<li class="list-group-item{{if .PageIsRepos}} active{{end}}"><a href="/admin/repos"><i class="fa fa-book fa-lg"></i> Repositories</a></li>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
{{template "repo/toolbar" .}}
|
{{template "repo/toolbar" .}}
|
||||||
<div id="body" class="container">
|
<div id="body" class="container">
|
||||||
<div id="user-setting-nav" class="col-md-3">
|
<div id="user-setting-nav" class="col-md-3">
|
||||||
<ul class="list-group" data-init="tabs">
|
<ul class="list-group">
|
||||||
<li class="list-group-item active"><a href="/{{.Owner.Name}}/{{.Repository.Name}}/settings">Options</a></li>
|
<li class="list-group-item active"><a href="/{{.Owner.Name}}/{{.Repository.Name}}/settings">Options</a></li>
|
||||||
<!--<li class="list-group-item"><a href="#">Collaborators</a></li>
|
<!--<li class="list-group-item"><a href="#">Collaborators</a></li>
|
||||||
<li class="list-group-item"><a href="#">Notifications</a></li>-->
|
<li class="list-group-item"><a href="#">Notifications</a></li>-->
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="user-activity" class="col-md-9">
|
<div id="user-activity" class="col-md-9">
|
||||||
<ul class="nav nav-tabs" id="user-act-tabs" data-init="tabs">
|
<ul class="nav nav-tabs" id="user-act-tabs">
|
||||||
<li{{if not .TabName}} class="active"{{end}}><a href="{{.Owner.HomeLink}}"><i class="fa fa-gittip"></i>Repositories</a></li>
|
<li{{if not .TabName}} class="active"{{end}}><a href="{{.Owner.HomeLink}}"><i class="fa fa-gittip"></i>Repositories</a></li>
|
||||||
<li{{if eq .TabName "activity"}} class="active"{{end}}><a href="{{.Owner.HomeLink}}?tab=activity"><i class="fa fa-rss"></i>Public Activity</a></li>
|
<li{{if eq .TabName "activity"}} class="active"{{end}}><a href="{{.Owner.HomeLink}}?tab=activity"><i class="fa fa-rss"></i>Public Activity</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue