aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-27 22:40:45 +0800
committerUnknwon <joe2010xtmf@163.com>2014-08-27 22:40:45 +0800
commit81287ba022ae906f1f9eb5b1324567cd93771b4e (patch)
tree35a32fae8597f90ad61c0b955e2f0c0d0e3c3306 /templates
parent9baf2b38d025eaf1d9bbb10a4616c71813ea7054 (diff)
downloadgitea-81287ba022ae906f1f9eb5b1324567cd93771b4e.tar.gz
gitea-81287ba022ae906f1f9eb5b1324567cd93771b4e.zip
Mirror issue fix
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/migrate.tmpl2
-rw-r--r--templates/user/settings/nav.tmpl1
-rw-r--r--templates/user/settings/orgs.tmpl18
3 files changed, 1 insertions, 20 deletions
diff --git a/templates/repo/migrate.tmpl b/templates/repo/migrate.tmpl
index 45465178bd..7c983d7686 100644
--- a/templates/repo/migrate.tmpl
+++ b/templates/repo/migrate.tmpl
@@ -20,7 +20,7 @@
</div>
<div class="field">
<label for="auth_password">{{.i18n.Tr "password"}}</label>
- <input class="ipt ipt-large ipt-radius {{if .Err_Auth}}ipt-error{{end}}" id="auth_password" name="auth_password" type="text" value="{{.auth_password}}" />
+ <input class="ipt ipt-large ipt-radius {{if .Err_Auth}}ipt-error{{end}}" id="auth_password" name="auth_password" type="password" value="{{.auth_password}}" />
</div>
</div>
</div>
diff --git a/templates/user/settings/nav.tmpl b/templates/user/settings/nav.tmpl
index cae120527c..d6d20dee96 100644
--- a/templates/user/settings/nav.tmpl
+++ b/templates/user/settings/nav.tmpl
@@ -6,7 +6,6 @@
<li {{if .PageIsSettingsPassword}}class="current"{{end}}><a href="/user/settings/password">{{.i18n.Tr "settings.password"}}</a></li>
<li {{if .PageIsSettingsSSHKeys}}class="current"{{end}}><a href="/user/settings/ssh">{{.i18n.Tr "settings.ssh_keys"}}</a></li>
<li {{if .PageIsSettingsSocial}}class="current"{{end}}><a href="/user/settings/social">{{.i18n.Tr "settings.social"}}</a></li>
- <li {{if .PageIsSettingsOrgs}}class="current"{{end}}><a href="/user/settings/orgs">{{.i18n.Tr "settings.orgs"}}</a></li>
<li {{if .PageIsSettingsDelete}}class="current"{{end}}><a href="/user/settings/delete">{{.i18n.Tr "settings.delete"}}</a></li>
</ul>
</div>
diff --git a/templates/user/settings/orgs.tmpl b/templates/user/settings/orgs.tmpl
deleted file mode 100644
index fb9096c3da..0000000000
--- a/templates/user/settings/orgs.tmpl
+++ /dev/null
@@ -1,18 +0,0 @@
-{{template "ng/base/head" .}}
-{{template "ng/base/header" .}}
-<div id="setting-wrapper" class="main-wrapper">
- <div id="user-profile-setting" class="container clear">
- {{template "user/settings/nav" .}}
- <div class="grid-4-5 left">
- <div class="setting-content">
- {{template "ng/base/alert" .}}
- <div id="setting-content">
- <div id="user-profile-setting-content" class="panel panel-radius">
- <p class="panel-header"><strong>{{.i18n.Tr "settings.manage_orgs"}}</strong></p>
- </div>
- </div>
- </div>
- </div>
- </div>
-</div>
-{{template "ng/base/footer" .}} \ No newline at end of file