Browse Source

xmas: for the warning, use a div with class 'warning'

osm-qa
parent
commit
627993aec7
  1. 2
      xmas.json

2
xmas.json

@ -25,7 +25,7 @@
"description": "{{ tagTransList(\"xmas:feature\", attribute(tags, \"xmas:feature\")) }}", "description": "{{ tagTransList(\"xmas:feature\", attribute(tags, \"xmas:feature\")) }}",
"body": [ "body": [
"{% if not isCurrent %}", "{% if not isCurrent %}",
"<div style='border: 1px solid red; padding: 2px; margin-bottom: 2px;'>{{ repoTrans('xmas:outdated-warning') }}</div>",
"<div class='warning'>{{ repoTrans('xmas:outdated-warning') }}</div>",
"{% endif %}", "{% endif %}",
"", "",
"{% if attribute(tags, 'xmas:location') %}", "{% if attribute(tags, 'xmas:location') %}",

Loading…
Cancel
Save