summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-26 10:49:18 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-26 10:49:18 +0800
commita8623ec104c3759b53e39a41d0a571013677cea3 (patch)
tree2650a873aaca8f2c5d9829dab3b8d16712c8cbda /templates
parentc1a3d4fefbbbf332cd1cedda66e93bf40cc9713d (diff)
downloadgitea-a8623ec104c3759b53e39a41d0a571013677cea3.tar.gz
gitea-a8623ec104c3759b53e39a41d0a571013677cea3.zip
fix init-tabs bug
Diffstat (limited to 'templates')
-rw-r--r--templates/admin/nav.tmpl2
-rw-r--r--templates/repo/setting.tmpl2
-rw-r--r--templates/user/profile.tmpl2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/admin/nav.tmpl b/templates/admin/nav.tmpl
index 8c2e33888e..2ac6462571 100644
--- a/templates/admin/nav.tmpl
+++ b/templates/admin/nav.tmpl
@@ -1,5 +1,5 @@
<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 .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>
diff --git a/templates/repo/setting.tmpl b/templates/repo/setting.tmpl
index d527dac3bc..ea7a5ddb61 100644
--- a/templates/repo/setting.tmpl
+++ b/templates/repo/setting.tmpl
@@ -4,7 +4,7 @@
{{template "repo/toolbar" .}}
<div id="body" class="container">
<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"><a href="#">Collaborators</a></li>
<li class="list-group-item"><a href="#">Notifications</a></li>-->
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index 7762ad2c6c..3733736dde 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -24,7 +24,7 @@
</div>
</div>
<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 eq .TabName "activity"}} class="active"{{end}}><a href="{{.Owner.HomeLink}}?tab=activity"><i class="fa fa-rss"></i>Public Activity</a></li>
</ul>