Skip to content
Snippets Groups Projects
Commit 9edf6e3e authored by cubicroot's avatar cubicroot
Browse files

improve (not) recorded tags on events

parent 6127e692
Branches
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@
{% import "plainui/components/function_btns.html.j2" as fbtns with context %}
{% import "plainui/components/integrations.html.j2" as integrations %}
{% import "plainui/components/tagbox.html.j2" as tagsMacro with context %}
{% import "plainui/components/event.html.j2" as eventMacro %}
{% macro list(
events,
......@@ -82,11 +83,7 @@
</div>
<div class="hub-tags">
{% if event.is_recorded is false %}
{{ tagsMacro.tag(_("Not recorded") , style="danger", icon="camera-video-off") }}
{% elif event.is_recorded is true %}
{{ tagsMacro.tag(_("Recorded") , style="success", icon="camera-video") }}
{% endif %}
{{ eventMacro.recorded_tag(event.is_recorded) }}
{% if event.track and event.track.name %}
<div class="hub-tag {% if event.track.color and calculate_luminance(event.track.color) <= 140 %} text-white {% else %} text-dark {% endif %}"
......
......@@ -935,7 +935,7 @@ msgid "Day %(n)s"
msgstr ""
msgid "Not recorded"
msgstr "This event is not going to be recorded"
msgstr "not recorded"
msgid "Recorded"
msgstr ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment