diff --git a/_includes/tool.html b/_includes/tool.html index 408eec6ded07841957f21f4bf218b3929ec6193b..ea25d0c46f8f8245147843bb83b59bdaff56b432 100644 --- a/_includes/tool.html +++ b/_includes/tool.html @@ -1,2 +1,7 @@ <a href="{{ site.baseurl }}{{ tool.url }}"><h4 id="{{tool.uid}}">{{tool.name}}</h4></a> +{% if tool.safetybriefing -%} + <div style="line-height: 18pt; margin:10px 0; width: 100%; background-color: #FFF8DC; border-width: 1em; border-color: #FDDA0D; border-radius: 10px; min-height: 40pt; vertical-align: middle;"> + <span style="float: left; color: #e67206; font-size: 40pt; display:block; width: 50pt; height: 40pt; text-align:center; line-height: 40pt;">⚠</span>Um dieses Gerät benutzen zu dürfen benötigst du eine <a href="{{ site.baseurl }}{{ tool.url }}briefing/">Einweisung</a>! + </div> + {% endif -%} {{ tool.excerpt | strip_html | markdownify | truncatewords: 60 }}<a href="{{ site.baseurl }}{{ tool.url }}">mehr</a>