diff options
author | 7heo <7heo@mail.com> | 2016-07-04 14:52:46 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-07-04 15:30:22 +0200 |
commit | 34793a33c9f6bf9f947ac625bc8f2fad9f29145c (patch) | |
tree | c4dca961802fde9471dfe3ac97a04308db2ff011 /testing/gogs/list.tmpl.patch | |
parent | 9236df622ce18dba92ce68e543981a817a2647a0 (diff) | |
download | aports-34793a33c9f6bf9f947ac625bc8f2fad9f29145c.tar.bz2 aports-34793a33c9f6bf9f947ac625bc8f2fad9f29145c.tar.xz |
testing/gogs: multiple fixes
List of fixes:
- Do not fail to add the user 'gogs' to the group 'www-data',
explicitely creates it first.
- Explicitely pass the path to the .ini file to the gogs binary.
- Use openrc-run instead of runscript.
- Patch the list.tmpl template not to cause a fatal error when gogs
starts.
Diffstat (limited to 'testing/gogs/list.tmpl.patch')
-rw-r--r-- | testing/gogs/list.tmpl.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/gogs/list.tmpl.patch b/testing/gogs/list.tmpl.patch new file mode 100644 index 0000000000..7bab1cf9e5 --- /dev/null +++ b/testing/gogs/list.tmpl.patch @@ -0,0 +1,11 @@ +--- a/gogs/templates/repo/issue/list.tmpl ++++ b/gogs/templates/repo/issue/list.tmpl +@@ -7,7 +7,7 @@ + <div class="col-md-3 filters"> + <div class="filter-list"> + <ul class="list-unstyled"> +- <li><a href="{{.RepoLink}}/issues?state={{.State}}"{{if eq .ViewType "all"}} class="active"{{end}}>All Issues <strong class="pull-right">{{..IssueStats.AllCount}}</strong></a></li> ++ <li><a href="{{.RepoLink}}/issues?state={{.State}}"{{if eq .ViewType "all"}} class="active"{{end}}>All Issues <strong class="pull-right">{{.IssueStats.AllCount}}</strong></a></li> + <li><a href="{{.RepoLink}}/issues?type=assigned&state={{.State}}"{{if eq .ViewType "assigned"}} class="active"{{end}}>Assigned to you <strong class="pull-right">{{.IssueStats.AssignCount}}</strong></a></li> + <li><a href="{{.RepoLink}}/issues?type=created_by&state={{.State}}"{{if eq .ViewType "created_by"}} class="active"{{end}}>Created by you <strong class="pull-right">{{.IssueStats.CreateCount}}</strong></a></li> + <li><a href="{{.RepoLink}}/issues?type=mentioned&state={{.State}}"{{if eq .ViewType "mentioned"}} class="active"{{end}}>Mentioning you <strong class="pull-right">{{.IssueStats.MentionCount}}</strong></a></li> |