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 | |
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')
-rw-r--r-- | templates/admin/auth/new.tmpl | 2 | ||||
-rw-r--r-- | templates/home.tmpl | 2 | ||||
-rw-r--r-- | templates/install.tmpl | 4 | ||||
-rw-r--r-- | templates/mail/notify/collaborator.tmpl | 2 | ||||
-rw-r--r-- | templates/org/team/new.tmpl | 6 | ||||
-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 | ||||
-rw-r--r-- | templates/user/auth/activate.tmpl | 2 | ||||
-rw-r--r-- | templates/user/auth/forgot_passwd.tmpl | 2 | ||||
-rw-r--r-- | templates/user/auth/reset_passwd.tmpl | 2 | ||||
-rw-r--r-- | templates/user/dashboard/dashboard.tmpl | 2 | ||||
-rw-r--r-- | templates/user/profile.tmpl | 2 |
15 files changed, 22 insertions, 22 deletions
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl index 12d47d2869..8f9f5ccc01 100644 --- a/templates/admin/auth/new.tmpl +++ b/templates/admin/auth/new.tmpl @@ -26,7 +26,7 @@ <label class="req" for="name">{{.i18n.Tr "admin.auths.auth_name"}}</label> <input class="ipt ipt-large ipt-radius {{if .Err_AuthName}}ipt-error{{end}}" id="name" name="name" value="{{.name}}" required /> </div> - <div class="ldap"> + <div class="ldap"> <div class="field"> <label class="req" for="domain">{{.i18n.Tr "admin.auths.domain"}}</label> <input class="ipt ipt-large ipt-radius {{if .Err_Domain}}ipt-error{{end}}" id="domain" name="domain" value="{{.domain}}" /> diff --git a/templates/home.tmpl b/templates/home.tmpl index 2825e14ad8..ba9cbe402b 100644 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -1,4 +1,4 @@ -{{template "ng/base/head" .}} +{{template "ng/base/head" .}} {{template "ng/base/header" .}} <div id="promo-wrapper"> <div class="container clear"> diff --git a/templates/install.tmpl b/templates/install.tmpl index 9ba610b62d..bf443de5a0 100644 --- a/templates/install.tmpl +++ b/templates/install.tmpl @@ -87,7 +87,7 @@ <p class="help-block">The user has access to visit and run Gogs.</p> </div> </div> - + <div class="form-group"> <label class="col-md-3 control-label">Domain: </label> <div class="col-md-8"> @@ -95,7 +95,7 @@ <p class="help-block">This affects SSH clone URL.</p> </div> </div> - + <div class="form-group"> <label class="col-md-3 control-label">App URL: </label> <div class="col-md-8"> diff --git a/templates/mail/notify/collaborator.tmpl b/templates/mail/notify/collaborator.tmpl index 0664b4c640..36a3149daa 100644 --- a/templates/mail/notify/collaborator.tmpl +++ b/templates/mail/notify/collaborator.tmpl @@ -10,7 +10,7 @@ <p> --- <br> - View it on Gogs: + View it on Gogs: <br> <a href="{{.AppUrl}}{{.RepoLink}}">{{.AppUrl}}{{.RepoLink}}</a> </p> diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl index ce8c15236b..f9632fcfd4 100644 --- a/templates/org/team/new.tmpl +++ b/templates/org/team/new.tmpl @@ -30,15 +30,15 @@ <div class="field"> <h4 class="text-center">{{.i18n.Tr "org.team_permission_desc"}}</h4> <label></label> - <input name="permission" type="radio" value="read" {{if or .PageIsOrgTeamsNew (eq .Team.Authorize 1)}}checked{{end}}> {{.i18n.Tr "org.teams.read_access"}} + <input name="permission" type="radio" value="read" {{if or .PageIsOrgTeamsNew (eq .Team.Authorize 1)}}checked{{end}}> {{.i18n.Tr "org.teams.read_access"}} <label></label> <p class="text-grey note">{{.i18n.Tr "org.teams.read_access_helper"}}</p> <label></label> - <input name="permission" type="radio" value="write" {{if eq .Team.Authorize 2}}checked{{end}}> {{.i18n.Tr "org.teams.write_access"}} + <input name="permission" type="radio" value="write" {{if eq .Team.Authorize 2}}checked{{end}}> {{.i18n.Tr "org.teams.write_access"}} <label></label> <p class="text-grey note">{{.i18n.Tr "org.teams.write_access_helper"}}</p> <label></label> - <input name="permission" type="radio" value="admin" {{if eq .Team.Authorize 3}}checked{{end}}> {{.i18n.Tr "org.teams.admin_access"}} + <input name="permission" type="radio" value="admin" {{if eq .Team.Authorize 3}}checked{{end}}> {{.i18n.Tr "org.teams.admin_access"}} <label></label> <p class="text-grey note">{{.i18n.Tr "org.teams.admin_access_helper"}}</p> </div> 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}} diff --git a/templates/user/auth/activate.tmpl b/templates/user/auth/activate.tmpl index acdad9e80b..6a9e0b0d52 100644 --- a/templates/user/auth/activate.tmpl +++ b/templates/user/auth/activate.tmpl @@ -1,4 +1,4 @@ -{{template "ng/base/head" .}} +{{template "ng/base/head" .}} {{template "ng/base/header" .}} <div id="sign-wrapper"> <form class="form-align form panel sign-panel sign-form container panel-radius" id="sign-up-form" action="/user/activate" method="post"> diff --git a/templates/user/auth/forgot_passwd.tmpl b/templates/user/auth/forgot_passwd.tmpl index 3b5512673b..3e9f76e935 100644 --- a/templates/user/auth/forgot_passwd.tmpl +++ b/templates/user/auth/forgot_passwd.tmpl @@ -1,4 +1,4 @@ -{{template "ng/base/head" .}} +{{template "ng/base/head" .}} {{template "ng/base/header" .}} <div id="sign-wrapper"> <form class="form-align form panel sign-panel sign-form container panel-radius" id="sign-up-form" action="/user/forget_password" method="post"> diff --git a/templates/user/auth/reset_passwd.tmpl b/templates/user/auth/reset_passwd.tmpl index d17abde2ba..3c9da96b67 100644 --- a/templates/user/auth/reset_passwd.tmpl +++ b/templates/user/auth/reset_passwd.tmpl @@ -1,4 +1,4 @@ -{{template "ng/base/head" .}} +{{template "ng/base/head" .}} {{template "ng/base/header" .}} <div id="sign-wrapper"> <form class="form-align form panel sign-panel sign-form container panel-radius" id="sign-up-form" action="/user/reset_password?code={{.Code}}" method="post"> diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl index d0789b96d6..df4fc0b65e 100644 --- a/templates/user/dashboard/dashboard.tmpl +++ b/templates/user/dashboard/dashboard.tmpl @@ -11,7 +11,7 @@ </div> <div class="content left {{if eq .GetOpType 5}}push-news{{end}}"> <p class="text-bold"> - <a href="/{{.GetActUserName}}">{{.GetActUserName}}</a> + <a href="/{{.GetActUserName}}">{{.GetActUserName}}</a> {{if eq .GetOpType 1}} {{$.i18n.Tr "action.create_repo" .GetRepoLink .GetRepoLink | Str2html}} {{else if eq .GetOpType 5}} diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 4f80f1659d..fe4e32f703 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -9,7 +9,7 @@ {{if .Owner.FullName}}<span id="user-full-name" class="center-block">{{.Owner.FullName}}</span>{{end}} <span id="user-name" class="center-block">{{.Owner.Name}}</span> </div> - + <div class="profile-info"> <ul class="list-group"> {{if .Owner.Location}} |