summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/.VERSION2
-rw-r--r--templates/admin/config.tmpl2
-rw-r--r--templates/repo/settings/options.tmpl48
3 files changed, 49 insertions, 3 deletions
diff --git a/templates/.VERSION b/templates/.VERSION
index 7052ac3fdc..07a96ab49f 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.8.50.0301 \ No newline at end of file
+0.8.53.0303 \ No newline at end of file
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl
index a6dc2ffcc4..880fca713b 100644
--- a/templates/admin/config.tmpl
+++ b/templates/admin/config.tmpl
@@ -211,8 +211,6 @@
</h4>
<div class="ui attached table segment">
<dl class="dl-horizontal admin-dl-horizontal">
- <dt>{{.i18n.Tr "admin.config.picture_service"}}</dt>
- <dd>{{.PictureService}}</dd>
<dt>{{.i18n.Tr "admin.config.disable_gravatar"}}</dt>
<dd><i class="fa fa{{if .DisableGravatar}}-check{{end}}-square-o"></i></dd>
</dl>
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl
index 977d841cf5..da1b595ddc 100644
--- a/templates/repo/settings/options.tmpl
+++ b/templates/repo/settings/options.tmpl
@@ -163,6 +163,20 @@
</div>
</div>
+ {{if .Repository.EnableWiki}}
+ <div class="ui divider"></div>
+
+ <div class="item">
+ <div class="ui right">
+ <button class="ui basic red show-modal button" data-modal="#delete-wiki-modal">{{.i18n.Tr "repo.settings.wiki_delete"}}</button>
+ </div>
+ <div>
+ <h5>{{.i18n.Tr "repo.settings.wiki_delete"}}</h5>
+ <p>{{.i18n.Tr "repo.settings.wiki_delete_desc"}}</p>
+ </div>
+ </div>
+ {{end}}
+
<div class="ui divider"></div>
<div class="item">
@@ -282,4 +296,38 @@
</form>
</div>
</div>
+
+{{if .Repository.EnableWiki}}
+<div class="ui small modal" id="delete-wiki-modal">
+ <div class="header">
+ {{.i18n.Tr "repo.settings.wiki-delete"}}
+ </div>
+ <div class="content">
+ <div class="ui warning message text left">
+ {{.i18n.Tr "repo.settings.delete_notices_1" | Safe}}<br>
+ {{.i18n.Tr "repo.settings.wiki_delete_notices_1" .Repository.Name | Safe}}
+ </div>
+ <form class="ui form" action="{{.Link}}" method="post">
+ {{.CsrfTokenHtml}}
+ <input type="hidden" name="action" value="delete-wiki">
+ <div class="field">
+ <label>
+ {{.i18n.Tr "repo.settings.transfer_form_title"}}
+ <span class="text red">{{.Repository.Name}}</span>
+ </label>
+ </div>
+ <div class="required field">
+ <label for="repo_name">{{.i18n.Tr "repo.repo_name"}}</label>
+ <input id="repo_name" name="repo_name" required>
+ </div>
+
+ <div class="text right actions">
+ <div class="ui cancel button">{{.i18n.Tr "settings.cancel"}}</div>
+ <button class="ui red button">{{.i18n.Tr "repo.settings.confirm_delete"}}</button>
+ </div>
+ </form>
+ </div>
+</div>
+{{end}}
+
{{template "base/footer" .}}