summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-23 12:16:17 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-23 12:16:17 -0400
commitf8cfb81fb027313e45b8ce505200f3d48b306fe2 (patch)
tree130d0f5a0adf638eedb4f9555954254d2747f48c /templates
parentb31070faf5ab73955585e4962d809be11098d767 (diff)
downloadgitea-f8cfb81fb027313e45b8ce505200f3d48b306fe2.tar.gz
gitea-f8cfb81fb027313e45b8ce505200f3d48b306fe2.zip
Mirror updates
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/nav.tmpl4
-rw-r--r--templates/repo/toolbar.tmpl12
-rw-r--r--templates/user/dashboard.tmpl4
-rw-r--r--templates/user/issues.tmpl4
-rw-r--r--templates/user/setting_nav.tmpl4
5 files changed, 14 insertions, 14 deletions
diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl
index a3358fd890..080cb72e57 100644
--- a/templates/repo/nav.tmpl
+++ b/templates/repo/nav.tmpl
@@ -53,9 +53,9 @@
</div>
</div>
</div>
- <div class="btn-group">
+ <!-- <div class="btn-group">
<button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="top" title="Star"><i class="fa fa-star"></i>&nbsp;{{.Repository.NumStars}}</button>
- </div>
+ </div> -->
{{end}}
<div class="btn-group">
<a type="button" {{if not .IsRepositoryOwner}}href="/{{.Username}}/{{.Reponame}}/fork"{{end}} class="btn btn-default" data-toggle="tooltip" data-placement="top" title="Fork"><i class="fa fa-code-fork fa-lg"></i>&nbsp;{{.Repository.NumForks}}</a>
diff --git a/templates/repo/toolbar.tmpl b/templates/repo/toolbar.tmpl
index b51768a3c3..415023d17f 100644
--- a/templates/repo/toolbar.tmpl
+++ b/templates/repo/toolbar.tmpl
@@ -6,27 +6,27 @@
<li class="{{if .IsRepoToolbarSource}}active{{end}}"><a href="/{{.RepositoryLink}}">Source</a></li>
{{if not .IsBareRepo}}
<li class="{{if .IsRepoToolbarCommits}}active{{end}}"><a href="/{{.RepositoryLink}}/commits/{{.Branchname}}">Commits</a></li>
- <li class="{{if .IsRepoToolbarBranches}}active{{end}}"><a href="/{{.RepositoryLink}}/branches">Branches</a></li>
- <li class="{{if .IsRepoToolbarPulls}}active{{end}}"><a href="/{{.RepositoryLink}}/pulls">Pull Requests</a></li>
+ <!-- <li class="{{if .IsRepoToolbarBranches}}active{{end}}"><a href="/{{.RepositoryLink}}/branches">Branches</a></li> -->
+ <!-- <li class="{{if .IsRepoToolbarPulls}}active{{end}}"><a href="/{{.RepositoryLink}}/pulls">Pull Requests</a></li> -->
<li class="{{if .IsRepoToolbarIssues}}active{{end}}"><a href="/{{.RepositoryLink}}/issues">Issues <!--<span class="badge">42</span>--></a></li>
- <li class="dropdown">
+ <!-- <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="/{{.RepositoryLink}}/release">Release</a></li>
<li><a href="//{{.RepositoryLink}}/wiki">Wiki</a></li>
</ul>
- </li>{{end}}
+ </li> -->{{end}}
</ul>
<ul class="nav navbar-nav navbar-right">
{{if not .IsBareRepo}}
- <li class="dropdown">
+ <!-- <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Statistic <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Graphic</a></li>
<li><a href="#">Pulse</a></li>
<li><a href="#">Network</a></li>
</ul>
- </li>{{end}}{{if .IsRepositoryOwner}}
+ </li> -->{{end}}{{if .IsRepositoryOwner}}
<li class="{{if .IsRepoToolbarSetting}}active{{end}}"><a href="/{{.RepositoryLink}}/settings">Settings</a>
</li>{{end}}
</ul>
diff --git a/templates/user/dashboard.tmpl b/templates/user/dashboard.tmpl
index 72c31d3d8f..6594e54591 100644
--- a/templates/user/dashboard.tmpl
+++ b/templates/user/dashboard.tmpl
@@ -5,8 +5,8 @@
<ul class="nav nav-pills pull-right">
<li class="active"><a href="/">Feed</a></li>
<li><a href="/issues">Issues</a></li>
- <li><a href="/pulls">Pull Requests</a></li>
- <li><a href="/stars">Stars</a></li>
+ <!-- <li><a href="/pulls">Pull Requests</a></li>
+ <li><a href="/stars">Stars</a></li> -->
</ul>
<h3>News Feed</h3>
</div>
diff --git a/templates/user/issues.tmpl b/templates/user/issues.tmpl
index 94f6689456..e28af5bec6 100644
--- a/templates/user/issues.tmpl
+++ b/templates/user/issues.tmpl
@@ -5,8 +5,8 @@
<ul class="nav nav-pills pull-right">
<li><a href="/">Feed</a></li>
<li class="active"><a href="/issues">Issues</a></li>
- <li><a href="/pulls">Pull Requests</a></li>
- <li><a href="/stars">Stars</a></li>
+ <!-- <li><a href="/pulls">Pull Requests</a></li>
+ <li><a href="/stars">Stars</a></li> -->
</ul>
<h3>Issues</h3>
</div>
diff --git a/templates/user/setting_nav.tmpl b/templates/user/setting_nav.tmpl
index 3a500fdafe..2905f2825c 100644
--- a/templates/user/setting_nav.tmpl
+++ b/templates/user/setting_nav.tmpl
@@ -3,9 +3,9 @@
<ul class="list-group">
<li class="list-group-item{{if .IsUserPageSetting}} list-group-item-success{{end}}"><a href="/user/setting">Account Profile</a></li>
<li class="list-group-item{{if .IsUserPageSettingPasswd}} list-group-item-success{{end}}"><a href="/user/setting/password">Password</a></li>
- <li class="list-group-item{{if .IsUserPageSettingNotify}} list-group-item-success{{end}}"><a href="/user/setting/notification">Notifications</a></li>
+ <!-- <li class="list-group-item{{if .IsUserPageSettingNotify}} list-group-item-success{{end}}"><a href="/user/setting/notification">Notifications</a></li> -->
<li class="list-group-item{{if .IsUserPageSettingSSH}} list-group-item-success{{end}}"><a href="/user/setting/ssh/">SSH Keys</a></li>
- <li class="list-group-item{{if .IsUserPageSettingSecurity}} list-group-item-success{{end}}"><a href="/user/setting/security">Security</a></li>
+ <!-- <li class="list-group-item{{if .IsUserPageSettingSecurity}} list-group-item-success{{end}}"><a href="/user/setting/security">Security</a></li> -->
<li class="list-group-item{{if .IsUserPageSettingDelete}} list-group-item-success{{end}}"><a href="/user/delete">Delete Account</a></li>
</ul>
</div> \ No newline at end of file