From bb7530d56dfd13689568859b66f07956c2498edf Mon Sep 17 00:00:00 2001 From: Harvey Kandola Date: Thu, 7 Jul 2016 12:07:58 -0700 Subject: [PATCH 1/2] fixed glitch with zone-header rendering --- app/app/styles/view/layout.scss | 2 +- app/app/templates/components/layout/zone-header.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/app/styles/view/layout.scss b/app/app/styles/view/layout.scss index 074ff0a1..2d8476fc 100644 --- a/app/app/styles/view/layout.scss +++ b/app/app/styles/view/layout.scss @@ -97,7 +97,7 @@ > .message { color: $color-gray; font-size: 1rem; - margin-top: 10px; + margin: 10px 0 0 5px; } } > .actions { diff --git a/app/app/templates/components/layout/zone-header.hbs b/app/app/templates/components/layout/zone-header.hbs index 57aeeeec..d2841ffe 100644 --- a/app/app/templates/components/layout/zone-header.hbs +++ b/app/app/templates/components/layout/zone-header.hbs @@ -1,7 +1,7 @@
- {{title}} +  {{title}}
{{message}} From 94f82a79de8b1c6e1d0d0240d85a0f6df1769b07 Mon Sep 17 00:00:00 2001 From: Harvey Kandola Date: Thu, 7 Jul 2016 12:17:59 -0700 Subject: [PATCH 2/2] improved github rendered messaging --- app/app/components/section/github/type-editor.js | 6 +++--- documize/section/github/model.go | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/app/components/section/github/type-editor.js b/app/app/components/section/github/type-editor.js index 19c5c053..18932bdf 100644 --- a/app/app/components/section/github/type-editor.js +++ b/app/app/components/section/github/type-editor.js @@ -276,15 +276,15 @@ export default Ember.Component.extend(SectionMixin, NotifierMixin, TooltipMixin, let states = []; states[0] = { id: "open", - name: "Show Open Issues" + name: "Open Issues" }; states[1] = { id: "closed", - name: "Show Closed Issues" + name: "Closed Issues" }; states[2] = { id: "all", - name: "Show All Issues" + name: "All Issues" }; this.set("states", states); diff --git a/documize/section/github/model.go b/documize/section/github/model.go index 6cf52894..eedfe7e1 100644 --- a/documize/section/github/model.go +++ b/documize/section/github/model.go @@ -72,19 +72,19 @@ var renderTemplates = map[string]string{

{{if .ShowIssueNumbers}} - Show Selected Issues + Showing Selected Issues {{else}} {{ .Config.IssueState.Name }} {{end}} for repository {{.Repo.Name}} {{if .ShowList}} - with label(s) + labelled {{range $label := .List}} {{if $label.Included}} {{$label.Name}} {{end}} {{end}} - {{end}}; + {{end}} {{if .ShowIssueNumbers}} issue(s) {{ .DateMessage }}. {{else}}