diff options
author | Tristan Storch <tstorch@math.uni-bielefeld.de> | 2014-08-30 15:12:53 +0200 |
---|---|---|
committer | Tristan Storch <tstorch@math.uni-bielefeld.de> | 2014-08-30 15:12:53 +0200 |
commit | 69e332f432c87ce83a488a8c06a02ded26f66beb (patch) | |
tree | 03c8ae1382e92612341df57856e9d1a17e1de8a9 /templates/repo | |
parent | 9bc63bda7ded31b77ad4aaf3495582a7c8555d2f (diff) | |
download | gitea-69e332f432c87ce83a488a8c06a02ded26f66beb.tar.gz gitea-69e332f432c87ce83a488a8c06a02ded26f66beb.zip |
Removed trailing white spaces
Removed trailing whitespaces with
```sh
for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done
```
and some handwork.
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/bare.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/issue/create.tmpl | 4 | ||||
-rw-r--r-- | templates/repo/issue/view.tmpl | 8 | ||||
-rw-r--r-- | templates/repo/settings/collaboration.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/single_file.tmpl | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/templates/repo/bare.tmpl b/templates/repo/bare.tmpl index 60000647d3..5b943bad63 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 c018884272..9b5468397d 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 3828928aa6..ff68ce0cc9 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 deb09e1f54..fe4ec49868 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 8c09f3ec1c..0ce04e13ba 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}} |