diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-03 15:50:55 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-03 15:50:55 -0400 |
commit | 79a610592ea7c2e93ab2f91190af1782c4aa8f8d (patch) | |
tree | 94515ccd8e27fc7f01c08daea725bdd2f3dbee6a /templates | |
parent | bbadbbdf685a7f6cb1924442a115aa88bb520e07 (diff) | |
download | gitea-79a610592ea7c2e93ab2f91190af1782c4aa8f8d.tar.gz gitea-79a610592ea7c2e93ab2f91190af1782c4aa8f8d.zip |
Add: rename repository
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/setting.tmpl | 10 |
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"> |