Remove the + and x buttons on tags page.

I don't think they provide a whole lot of benefit since clicking
through to the tag itself and then searching is easy enough, and
these elements triple the number of dom nodes on the page.
master
voussoir 2022-07-19 20:06:10 -07:00
parent 2562084fce
commit 145d0a8429
No known key found for this signature in database
GPG Key ID: 5F7554F8C26DACCB
1 changed files with 4 additions and 4 deletions

View File

@ -155,8 +155,8 @@
<ul id="tag_list">
{% for (qualified_name, tag) in tags %}
<li>
{{cards.create_tag_card(tag, link="search_musts", extra_classes="must_shortcut", innertext="(+)")}}
{{cards.create_tag_card(tag, link="search_forbids", extra_classes="forbid_shortcut", innertext="(x)")}}
{# cards.create_tag_card(tag, link="search_musts", extra_classes="must_shortcut", innertext="(+)") #}
{# cards.create_tag_card(tag, link="search_forbids", extra_classes="forbid_shortcut", innertext="(x)") #}
{{cards.create_tag_card(tag, link="info", extra_classes="main_card", innertext=qualified_name, with_alt_description=True)-}}
{% if specific_tag or '.' in qualified_name -%}
<button
@ -188,8 +188,8 @@
{% if include_synonyms %}
{% for synonym in tag.get_synonyms()|sort %}
<li>
{{-cards.create_tag_card(tag, link="search_musts", extra_classes="must_shortcut", innertext="(+)")}}
{{cards.create_tag_card(tag, link="search_forbids", extra_classes="forbid_shortcut", innertext="(x)")}}
{# -cards.create_tag_card(tag, link="search_musts", extra_classes="must_shortcut", innertext="(+)") #}
{# cards.create_tag_card(tag, link="search_forbids", extra_classes="forbid_shortcut", innertext="(x)") #}
{{cards.create_tag_card(tag, link='info', extra_classes="main_card", innertext=qualified_name + '+' + synonym)-}}
<button
class="remove_tag_button red_button button_with_confirm"