Add task admonition for workshops

This commit is contained in:
Daniel Siepmann 2020-02-07 14:00:05 +01:00
parent f5ef338207
commit 98ef515b32
3 changed files with 5 additions and 0 deletions

View file

@ -24,6 +24,7 @@ TCEFORM.tt_content {
hint = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.hint hint = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.hint
caution = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.caution caution = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.caution
danger = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.danger danger = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.danger
task = LLL:EXT:ds_site/Resources/Private/Language/locallang.xlf:frontend.content.admonition.header.task
} }
} }
} }

View file

@ -31,6 +31,9 @@
<trans-unit id="frontend.content.admonition.header.danger"> <trans-unit id="frontend.content.admonition.header.danger">
<source>Danger</source> <source>Danger</source>
</trans-unit> </trans-unit>
<trans-unit id="frontend.content.admonition.header.task">
<source>Task</source>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View file

@ -15,6 +15,7 @@ aside {
border-color: $yellow; border-color: $yellow;
} }
&.admonition-task,
&.admonition-hint { &.admonition-hint {
border-color: $green; border-color: $green;
} }