feat: use mustache instead of tangular

This commit is contained in:
Karl-Philipp Wulfert
2019-03-20 15:46:59 +01:00
parent 9847fc809c
commit 95f7521dbd
11 changed files with 450 additions and 745 deletions

View File

@@ -1,2 +0,0 @@

View File

@@ -1,8 +0,0 @@
## <img src="{{ assignee.avatar_url }}" height="30" /> {{ assignee.name }}
### open: {{ issueCounts.opened }}, closed: {{ issueCounts.closed }}
quota closed: {{ quota }}%
| __title__ | __status__ | __project__ | __weeks__ |
| --- | --- | --- | --- |

View File

@@ -1 +0,0 @@
# Meeting {{ meetingDay }}

View File

@@ -1 +0,0 @@
| __[{{ if issue.state !== 'closed' }} {{ issue.title }} {{ else }} ~~{{ issue.title }}~~ {{ fi }}]({{ issue.web_url }})__<br />__Labels:__ {{ issue._labels }} | {{ if branchExists }} <img src="https://cdn0.iconfinder.com/data/icons/octicons/1024/git-branch-512.png" height="30" /> {{ fi}} {{ if mergeRequestUrl !== undefined }} <a href="{{ mergeRequestUrl }}"> <img src="https://cdn0.iconfinder.com/data/icons/octicons/1024/git-merge-512.png" height="30"/> </a> {{ fi }} | [{{ project }}](https://gitlab.com/{{ project }}) | {{ weeksOpen }} |

View File

@@ -0,0 +1,14 @@
# Meeting {{meetingDay}}
{{#issuesByAssignee}}
## {{#assignee.avatar_url}}<img src="{{&assignee.avatar_url}}" height="30"/> {{/assignee.avatar_url}}{{assignee.name}}
### open: {{issueCounts.opened}}, closed: {{issueCounts.closed}}
quota closed: {{quota}}%
| __title__ | __status__ | __project__ | __weeks__ |
| --- | --- | --- | --- |
{{#issues}}| __[{{title}}]({{&web_url}})__<br />__Labels:__ {{$labels}} | {{#$branchExists}}<img src="https://cdn0.iconfinder.com/data/icons/octicons/1024/git-branch-512.png" height="30" />{{/$branchExists}}{{#$mergeRequestUrl}}[<img src="https://cdn0.iconfinder.com/data/icons/octicons/1024/git-merge-512.png" height="30"/>]({{&$mergeRequestUrl}}){{/$mergeRequestUrl}} | [{{$project}}](https://gitlab.com/{{&$project}}) | {{$weeksOpen}} |
{{/issues}}
{{/issuesByAssignee}}