summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/view_content.tmpl13
-rw-r--r--templates/status/401.tmpl9
-rw-r--r--templates/status/403.tmpl7
-rw-r--r--templates/status/404.tmpl10
-rw-r--r--templates/status/500.tmpl9
5 files changed, 28 insertions, 20 deletions
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl
index 9f36a24ce9..a6d4ba4712 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -144,6 +144,19 @@
</a>
<span class="text grey"><a href="{{.Poster.HomeLink}}">{{.Poster.Name}}</a> {{$.i18n.Tr "repo.issues.closed_at" .EventTag $createdStr | Safe}}</span>
</div>
+ {{else if eq .Type 4}}
+ <div class="event">
+ <span class="octicon octicon-bookmark"></span>
+ <a class="ui avatar image" href="{{.Poster.HomeLink}}">
+ <img src="{{.Poster.AvatarLink}}">
+ </a>
+ <span class="text grey"><a href="{{.Poster.HomeLink}}">{{.Poster.Name}}</a> {{$.i18n.Tr "repo.issues.commit_ref_at" .EventTag $createdStr | Safe}}</span>
+
+ <div class="detail">
+ <span class="octicon octicon-git-commit"></span>
+ <span class="text grey">{{.Content | Safe}}</span>
+ </div>
+ </div>
{{end}}
{{end}}
diff --git a/templates/status/401.tmpl b/templates/status/401.tmpl
index 2c38d90fb5..f00101fd3c 100644
--- a/templates/status/401.tmpl
+++ b/templates/status/401.tmpl
@@ -1,6 +1,5 @@
-{{template "ng/base/head" .}}
-{{template "ng/base/header" .}}
-<div class="container">
- 401 Unauthorized: {{.ErrorMsg}}
+{{template "base/head" .}}
+<div class="ui container center">
+ 401 Unauthorized
</div>
-{{template "ng/base/footer" .}} \ No newline at end of file
+{{template "base/footer" .}} \ No newline at end of file
diff --git a/templates/status/403.tmpl b/templates/status/403.tmpl
index f252146773..5c413a2974 100644
--- a/templates/status/403.tmpl
+++ b/templates/status/403.tmpl
@@ -1,6 +1,5 @@
-{{template "ng/base/head" .}}
-{{template "ng/base/header" .}}
-<div class="container">
+{{template "base/head" .}}
+<div class="ui container center">
403 Forbidden
</div>
-{{template "ng/base/footer" .}} \ No newline at end of file
+{{template "base/footer" .}} \ No newline at end of file
diff --git a/templates/status/404.tmpl b/templates/status/404.tmpl
index fe6739b948..b9874c5f17 100644
--- a/templates/status/404.tmpl
+++ b/templates/status/404.tmpl
@@ -1,11 +1,9 @@
-{{template "ng/base/head" .}}
-{{template "ng/base/header" .}}
-<div class="container text-center">
+{{template "base/head" .}}
+<div class="ui container center">
<p style="margin-top: 100px"><img src="{{AppSubUrl}}/img/404.png" alt="404"/></p>
- <hr/>
+ <div class="ui divider"></div>
<br>
<p>Application Version: {{AppVer}}</p>
<p>If you think this is an error, please open an issue on <a href="https://github.com/gogits/gogs/issues/new">GitHub</a>.</p>
- <!-- <p>We're currently working on 0.5 beta version, many pages may be missing at this time. Sorry for confusion!</p> -->
</div>
-{{template "ng/base/footer" .}}
+{{template "base/footer" .}}
diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl
index 21116fa310..ac2b4be71f 100644
--- a/templates/status/500.tmpl
+++ b/templates/status/500.tmpl
@@ -1,10 +1,9 @@
-{{template "ng/base/head" .}}
-{{template "ng/base/header" .}}
-<div id="body" class="container text-center">
+{{template "base/head" .}}
+<div class="ui container center">
<p style="margin-top: 100px"><img src="{{AppSubUrl}}/img/500.png" alt="500"/></p>
- <hr/>
+ <div class="ui divider"></div>
<br>
{{if .ErrorMsg}}<p>An error has occurred : {{.ErrorMsg}}</p>{{end}}
<p>Application Version: {{AppVer}}</p>
</div>
-{{template "ng/base/footer" .}}
+{{template "base/footer" .}}