aboutsummaryrefslogtreecommitdiff
path: root/templates/repo
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/bare.tmpl2
-rw-r--r--templates/repo/issue/create.tmpl4
-rw-r--r--templates/repo/issue/view.tmpl8
-rw-r--r--templates/repo/settings/collaboration.tmpl2
-rw-r--r--templates/repo/single_file.tmpl2
5 files changed, 9 insertions, 9 deletions
diff --git a/templates/repo/bare.tmpl b/templates/repo/bare.tmpl
index 60000647..5b943bad 100644
--- a/templates/repo/bare.tmpl
+++ b/templates/repo/bare.tmpl
@@ -14,7 +14,7 @@
<div id="repo-content" class="clear container">
<div id="repo-bare">
<div id="repo-bare-start" class="panel panel-radius">
- <div class="panel-header">
+ <div class="panel-header">
<a class="btn btn-small btn-black btn-header btn-radius right" href="{{.RepoLink}}/settings">{{.i18n.Tr "repo.settings"}}</a>
<strong>Quick Start</strong>
</div>
diff --git a/templates/repo/issue/create.tmpl b/templates/repo/issue/create.tmpl
index c0188842..9b546839 100644
--- a/templates/repo/issue/create.tmpl
+++ b/templates/repo/issue/create.tmpl
@@ -104,8 +104,8 @@
</div>
{{if .AttachmentsEnabled}}
<div id="attached">
- <div id="attached-list">
- <b>Attachments:</b>
+ <div id="attached-list">
+ <b>Attachments:</b>
</div>
</div>
{{end}}
diff --git a/templates/repo/issue/view.tmpl b/templates/repo/issue/view.tmpl
index 3828928a..ff68ce0c 100644
--- a/templates/repo/issue/view.tmpl
+++ b/templates/repo/issue/view.tmpl
@@ -45,19 +45,19 @@
<div class="tab-pane issue-preview-content" id="issue-edit-preview">Loading...</div>
</div>
</div>
- </div>
+ </div>
</div>
{{with $attachments := .Issue.Attachments}}
{{if $attachments}}
<div class="attachments">
<span class="attachment-label label label-info">Attachments:</span>
-
+
{{range $attachments}}
<a class="attachment label label-default" href="{{.IssueId}}/attachment/{{.Id}}">{{.Name}}</a>
{{end}}
</div>
{{end}}
- {{end}}
+ {{end}}
</div>
{{range .Comments}}
{{/* 0 = COMMENT, 1 = REOPEN, 2 = CLOSE, 3 = ISSUE, 4 = COMMIT, 5 = PULL */}}
@@ -145,7 +145,7 @@
{{if .AttachmentsEnabled}}
<div id="attached">
<div id="attached-list">
- <b>Attachments:</b>
+ <b>Attachments:</b>
</div>
</div>
{{end}}
diff --git a/templates/repo/settings/collaboration.tmpl b/templates/repo/settings/collaboration.tmpl
index deb09e1f..fe4ec498 100644
--- a/templates/repo/settings/collaboration.tmpl
+++ b/templates/repo/settings/collaboration.tmpl
@@ -44,4 +44,4 @@
</div>
</div>
</div>
-{{template "ng/base/footer" .}} \ No newline at end of file
+{{template "ng/base/footer" .}} \ No newline at end of file
diff --git a/templates/repo/single_file.tmpl b/templates/repo/single_file.tmpl
index 8c09f3ec..0ce04e13 100644
--- a/templates/repo/single_file.tmpl
+++ b/templates/repo/single_file.tmpl
@@ -21,7 +21,7 @@
</div>
{{end}}
</div>
-
+
{{if not .FileIsText}}
<div class="panel-body file-body file-code code-view">
{{if .IsImageFile}}