1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-08 06:55:28 +02:00

Merge branch 'master' into github-extension

This commit is contained in:
Elliott Stoneham 2016-07-07 20:35:11 +01:00
commit 7b2cdce328
4 changed files with 8 additions and 8 deletions

View file

@ -276,15 +276,15 @@ export default Ember.Component.extend(SectionMixin, NotifierMixin, TooltipMixin,
let states = []; let states = [];
states[0] = { states[0] = {
id: "open", id: "open",
name: "Show Open Issues" name: "Open Issues"
}; };
states[1] = { states[1] = {
id: "closed", id: "closed",
name: "Show Closed Issues" name: "Closed Issues"
}; };
states[2] = { states[2] = {
id: "all", id: "all",
name: "Show All Issues" name: "All Issues"
}; };
this.set("states", states); this.set("states", states);

View file

@ -97,7 +97,7 @@
> .message { > .message {
color: $color-gray; color: $color-gray;
font-size: 1rem; font-size: 1rem;
margin-top: 10px; margin: 10px 0 0 5px;
} }
} }
> .actions { > .actions {

View file

@ -1,7 +1,7 @@
<div id="zone-header" class="zone-header"> <div id="zone-header" class="zone-header">
<div class="info pull-left width-60"> <div class="info pull-left width-60">
<div class="title"> <div class="title">
{{title}} &nbsp;{{title}}
</div> </div>
<div class="{{if hasMessage "message"}}"> <div class="{{if hasMessage "message"}}">
{{message}} {{message}}

View file

@ -72,19 +72,19 @@ var renderTemplates = map[string]string{
<div class="section-github-render"> <div class="section-github-render">
<p> <p>
{{if .ShowIssueNumbers}} {{if .ShowIssueNumbers}}
Show Selected Issues Showing Selected Issues
{{else}} {{else}}
{{ .Config.IssueState.Name }} {{ .Config.IssueState.Name }}
{{end}} {{end}}
for repository <a href="{{ .Repo.URL }}/issues">{{.Repo.Name}}</a> for repository <a href="{{ .Repo.URL }}/issues">{{.Repo.Name}}</a>
{{if .ShowList}} {{if .ShowList}}
with label(s) labelled
{{range $label := .List}} {{range $label := .List}}
{{if $label.Included}} {{if $label.Included}}
<span class="github-issue-label" style="background-color:#{{$label.Color}}">{{$label.Name}}</span> <span class="github-issue-label" style="background-color:#{{$label.Color}}">{{$label.Name}}</span>
{{end}} {{end}}
{{end}} {{end}}
{{end}}; {{end}}
{{if .ShowIssueNumbers}} {{if .ShowIssueNumbers}}
issue(s) {{ .DateMessage }}. issue(s) {{ .DateMessage }}.
{{else}} {{else}}