summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-03 15:50:55 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-03 15:50:55 -0400
commit79a610592ea7c2e93ab2f91190af1782c4aa8f8d (patch)
tree94515ccd8e27fc7f01c08daea725bdd2f3dbee6a /templates
parentbbadbbdf685a7f6cb1924442a115aa88bb520e07 (diff)
downloadgitea-79a610592ea7c2e93ab2f91190af1782c4aa8f8d.tar.gz
gitea-79a610592ea7c2e93ab2f91190af1782c4aa8f8d.zip
Add: rename repository
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/setting.tmpl10
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/repo/setting.tmpl b/templates/repo/setting.tmpl
index ea7a5ddb61..a177aba6ad 100644
--- a/templates/repo/setting.tmpl
+++ b/templates/repo/setting.tmpl
@@ -12,7 +12,7 @@
</div>
<div id="repo-setting-container" class="col-md-9">
- {{if .IsSuccess}}<p class="alert alert-success">Repository option has been successfully updated.</p>{{else if .HasError}}<p class="alert alert-danger form-error">{{.ErrorMsg}}</p>{{end}}
+ {{if .IsSuccess}}<p class="alert alert-success">Repository options has been successfully updated.</p>{{else if .HasError}}<p class="alert alert-danger form-error">{{.ErrorMsg}}</p>{{end}}
<div class="panel panel-default">
<div class="panel-heading">
Repository Options
@@ -23,11 +23,19 @@
{{.CsrfTokenHtml}}
<input type="hidden" name="action" value="update">
<div class="form-group">
+ <label class="col-md-3 text-right">Name</label>
+ <div class="col-md-9">
+ <input class="form-control" name="name" value="{{.Repository.Name}}" />
+ </div>
+ </div>
+
+ <div class="form-group">
<label class="col-md-3 text-right">Description</label>
<div class="col-md-9">
<textarea class="form-control" name="desc" id="repo-desc" rows="3">{{.Repository.Description}}</textarea>
</div>
</div>
+
<div class="form-group">
<label class="col-md-3 text-right">Official Site</label>
<div class="col-md-9">