diff --git a/editions/tw5.com/tiddlers/releasenotes/ReleasesProcedures.tid b/editions/tw5.com/tiddlers/releasenotes/ReleasesProcedures.tid index bff8e4976..2ab9c9d35 100644 --- a/editions/tw5.com/tiddlers/releasenotes/ReleasesProcedures.tid +++ b/editions/tw5.com/tiddlers/releasenotes/ReleasesProcedures.tid @@ -84,7 +84,9 @@ tags: $:/tags/Global \procedure change-note-heading() \whitespace trim -

+

get[change-type]addprefix[$:/tw5.com/releases/info/change-types/]addsuffix[/colour]get[text]addsuffix[40]] }}} +> <%if [!match[no]] %><><%endif%> <%if [match[yes]] %><><%endif%> <%if [match[yes]] %><$link to=<> class="doc-change-note-description-link"><$transclude $tiddler=<> $field="description" $mode="inline"/><%else%><$transclude $tiddler=<> $field="description" $mode="inline"/><%endif%> @@ -201,7 +203,9 @@ tags: $:/tags/Global \whitespace trim <$let changeTypeState={{{ [addprefix[$:/state/release/change-type/]addsuffix[/]addsuffix] }}}>
- <$button class="tc-btn-invisible doc-release-section-summary"> + <$button class="tc-btn-invisible doc-release-section-summary" + style.backgroundColor={{{ [[$:/tw5.com/releases/info/change-types/]addsuffixaddsuffix[/colour]get[text]addsuffix[40]] }}} + > <$macrocall $name="release-section-toggle" state=<>/> <$text text={{{ [[$:/tw5.com/releases/info/change-types/]addsuffixaddsuffix[/plural]get[text]] }}} /> @@ -230,7 +234,9 @@ tags: $:/tags/Global \whitespace trim <$let changeCategoryState={{{ [addprefix[$:/state/release/change-category/]addsuffix[/]addsuffix] }}}>
- <$button class="tc-btn-invisible doc-release-section-summary"> + <$button class="tc-btn-invisible doc-release-section-summary" + style.backgroundColor={{{ [[$:/tw5.com/releases/info/categories/]addsuffixaddsuffix[/colour]get[text]addsuffix[40]] }}} + > <$macrocall $name="release-section-toggle" state=<>/> <$text text={{{ [[$:/tw5.com/releases/info/categories/]addsuffixaddsuffix[/plural]get[text]] }}} /> @@ -265,7 +271,9 @@ tags: $:/tags/Global \procedure impact-note-item() \whitespace trim
-
+
get[impact-type]addprefix[$:/tw5.com/releases/info/impact-types/]addsuffix[/colour/background]get[text]] }}} + > <$transclude $variable="impact-pill" $mode="inline" impact-type={{{ [get[impact-type]] }}}/> <$text text=": "/> <%if [match[yes]] %><$link to=<> class="doc-change-note-description-link"><$transclude $tiddler=<> $field="description" $mode="inline"/><%else%><$transclude $tiddler=<> $field="description" $mode="inline"/><%endif%> @@ -281,7 +289,9 @@ tags: $:/tags/Global \whitespace trim <$let impactTypeState={{{ [addprefix[$:/state/release/impact-type/]addsuffix[/]addsuffix] }}}>
- <$button class="tc-btn-invisible doc-release-section-summary"> + <$button class="tc-btn-invisible doc-release-section-summary" + style.backgroundColor={{{ [[$:/tw5.com/releases/info/impact-types/]addsuffixaddsuffix[/colour/background]get[text]] }}} + > <$macrocall $name="release-section-toggle" state=<>/> <$text text={{{ [[$:/tw5.com/releases/info/impact-types/]addsuffixaddsuffix[/plural]get[text]] }}} /> diff --git a/editions/tw5.com/tiddlers/releasenotes/ReleasesStyles.tid b/editions/tw5.com/tiddlers/releasenotes/ReleasesStyles.tid index 82643dc7f..4522b4cb4 100644 --- a/editions/tw5.com/tiddlers/releasenotes/ReleasesStyles.tid +++ b/editions/tw5.com/tiddlers/releasenotes/ReleasesStyles.tid @@ -147,6 +147,8 @@ type: text/vnd.tiddlywiki .doc-impact-note-heading { font-weight: 600; margin-bottom: 0.25em; + padding: 0.25em 0.5em; + border-radius: 0.25em; } .doc-impact-note-details {