summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorIván Valdés <iv@a.ki>2020-10-21 16:47:16 -0700
committerGitHub <noreply@github.com>2020-10-21 19:47:16 -0400
commit819901b3e9c187aed1d29f7b58599ed61075781a (patch)
treee12996844c3bc7b52ffe402431b2dfca163336b7 /templates
parent327f18c3b28225dcfcaa0409b880136f7e1d1bf6 (diff)
downloadgitea-819901b3e9c187aed1d29f7b58599ed61075781a.tar.gz
gitea-819901b3e9c187aed1d29f7b58599ed61075781a.zip
Update outdated label to use Fomantic UI style (#13181)
* Update outdated label to use Fomantic UI style * Use native labels rather than custom style * Remove leading zero Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/diff/comments.tmpl4
-rw-r--r--templates/repo/issue/view_content.tmpl2
-rw-r--r--templates/repo/issue/view_content/comments.tmpl6
3 files changed, 6 insertions, 6 deletions
diff --git a/templates/repo/diff/comments.tmpl b/templates/repo/diff/comments.tmpl
index 097d437a6d..076d2d969e 100644
--- a/templates/repo/diff/comments.tmpl
+++ b/templates/repo/diff/comments.tmpl
@@ -21,11 +21,11 @@
<div class="ui right actions">
{{if and .Review}}
{{if eq .Review.Type 0}}
- <div class="item tag review pending">
+ <div class="ui label basic small yellow">
{{$.root.i18n.Tr "repo.issues.review.pending"}}
</div>
{{else}}
- <div class="item tag review">
+ <div class="ui label basic small">
{{$.root.i18n.Tr "repo.issues.review.review"}}
</div>
{{end}}
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl
index 0ddea16816..53a14a28e1 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -41,7 +41,7 @@
{{if not $.Repository.IsArchived}}
<div class="ui right actions">
{{if gt .Issue.ShowTag 0}}
- <div class="item tag">
+ <div class="ui basic label">
{{if eq .Issue.ShowTag 2}}
{{$.i18n.Tr "repo.issues.collaborator"}}
{{else if eq .Issue.ShowTag 3}}
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl
index f1ec8a9da0..68bb2d49f7 100644
--- a/templates/repo/issue/view_content/comments.tmpl
+++ b/templates/repo/issue/view_content/comments.tmpl
@@ -28,12 +28,12 @@
{{if not $.Repository.IsArchived}}
<div class="ui right actions">
{{if eq .PosterID .Issue.PosterID }}
- <div class="item tag">
+ <div class="ui basic label">
{{$.i18n.Tr "repo.issues.poster"}}
</div>
{{end}}
{{if gt .ShowTag 0}}
- <div class="item tag">
+ <div class="ui basic label">
{{if eq .ShowTag 2}}
{{$.i18n.Tr "repo.issues.collaborator"}}
{{else if eq .ShowTag 3}}
@@ -460,7 +460,7 @@
{{end}}
<a href="{{(index $comms 0).CodeCommentURL}}" class="file-comment">{{$filename}}</a>
{{if $invalid }}
- <span class="tag">
+ <span class="ui label basic small yellow">
{{$.i18n.Tr "repo.issues.review.outdated"}}
</span>
{{end}}