Skip to content
Snippets Groups Projects
Commit ae1e60a8 authored by Roang's avatar Roang
Browse files

Fix H037 djLint rule

Duplicate HTML attributes.
parent 4bed8934
Branches
Tags
No related merge requests found
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<option {% if m == mode %}selected{% endif %}>{{ m }}</option> <option {% if m == mode %}selected{% endif %}>{{ m }}</option>
{% endfor %} {% endfor %}
</select> </select>
<button type="submit" class="btn btn-outline-dark" type="button">Select</button> <button class="btn btn-outline-dark" type="submit">Select</button>
</div> </div>
</form> </form>
</span> </span>
......
...@@ -54,47 +54,43 @@ ...@@ -54,47 +54,43 @@
href="{{ url('plainui:personal_message_show', msg_id=msg.id) }}"> href="{{ url('plainui:personal_message_show', msg_id=msg.id) }}">
{% if not sent_mode %} {% if not sent_mode %}
{% if msg.has_responded %} {% if msg.has_responded %}
<svg class="hub-tile-message__icon-flag" <svg class="hub-tile-message__icon-flag bi bi-reply-fill"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="16" width="16"
height="16" height="16"
fill="currentColor" fill="currentColor"
class="bi bi-reply-fill"
viewBox="0 0 16 16"> viewBox="0 0 16 16">
<title>{{ _("messages_was_responded") }}</title> <title>{{ _("messages_was_responded") }}</title>
<path transform="translate(16), scale(-1, 1)" d="M9.079 11.9l4.568-3.281a.719.719 0 0 0 0-1.238L9.079 4.1A.716.716 0 0 0 8 4.719V6c-1.5 0-6 0-7 8 2.5-4.5 7-4 7-4v1.281c0 .56.606.898 1.079.62z" /> <path transform="translate(16), scale(-1, 1)" d="M9.079 11.9l4.568-3.281a.719.719 0 0 0 0-1.238L9.079 4.1A.716.716 0 0 0 8 4.719V6c-1.5 0-6 0-7 8 2.5-4.5 7-4 7-4v1.281c0 .56.606.898 1.079.62z" />
</svg> </svg>
{% endif %} {% endif %}
{% if msg.was_read %} {% if msg.was_read %}
<svg class="hub-tile-message__icon" <svg class="hub-tile-message__icon bi bi-envelope-open"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="3.125rem" width="3.125rem"
height="3.125rem" height="3.125rem"
fill="currentColor" fill="currentColor"
class="bi bi-envelope-open"
viewBox="0 0 16 16"> viewBox="0 0 16 16">
<title>{{ _("messages_was_read") }}</title> <title>{{ _("messages_was_read") }}</title>
<path d="M8.47 1.318a1 1 0 0 0-.94 0l-6 3.2A1 1 0 0 0 1 5.4v.818l5.724 3.465L8 8.917l1.276.766L15 6.218V5.4a1 1 0 0 0-.53-.882l-6-3.2zM15 7.388l-4.754 2.877L15 13.117v-5.73zm-.035 6.874L8 10.083l-6.965 4.18A1 1 0 0 0 2 15h12a1 1 0 0 0 .965-.738zM1 13.117l4.754-2.852L1 7.387v5.73zM7.059.435a2 2 0 0 1 1.882 0l6 3.2A2 2 0 0 1 16 5.4V14a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5.4a2 2 0 0 1 1.059-1.765l6-3.2z" /> <path d="M8.47 1.318a1 1 0 0 0-.94 0l-6 3.2A1 1 0 0 0 1 5.4v.818l5.724 3.465L8 8.917l1.276.766L15 6.218V5.4a1 1 0 0 0-.53-.882l-6-3.2zM15 7.388l-4.754 2.877L15 13.117v-5.73zm-.035 6.874L8 10.083l-6.965 4.18A1 1 0 0 0 2 15h12a1 1 0 0 0 .965-.738zM1 13.117l4.754-2.852L1 7.387v5.73zM7.059.435a2 2 0 0 1 1.882 0l6 3.2A2 2 0 0 1 16 5.4V14a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5.4a2 2 0 0 1 1.059-1.765l6-3.2z" />
</svg> </svg>
{% else %} {% else %}
<svg class="hub-tile-message__icon" <svg class="hub-tile-message__icon bi bi-envelope-fill"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="3.125rem" width="3.125rem"
height="3.125rem" height="3.125rem"
fill="currentColor" fill="currentColor"
class="bi bi-envelope-fill"
viewBox="0 0 16 16"> viewBox="0 0 16 16">
<title>{{ _("messages_is_new") }}</title> <title>{{ _("messages_is_new") }}</title>
<path d="M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555zM0 4.697v7.104l5.803-3.558L0 4.697zM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757zm3.436-.586L16 11.801V4.697l-5.803 3.546z" /> <path d="M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555zM0 4.697v7.104l5.803-3.558L0 4.697zM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757zm3.436-.586L16 11.801V4.697l-5.803 3.546z" />
</svg> </svg>
{% endif %} {% endif %}
{% else %} {% else %}
<svg class="hub-tile-message__icon" <svg class="hub-tile-message__icon bi bi-mailbox"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="3.125rem" width="3.125rem"
height="3.125rem" height="3.125rem"
fill="currentColor" fill="currentColor"
class="bi bi-mailbox"
viewBox="0 0 16 16"> viewBox="0 0 16 16">
<title>{{ _("messages_was_sent") }}</title> <title>{{ _("messages_was_sent") }}</title>
<path fill-rule="evenodd" d="M6 8a.5.5 0 0 0 .5.5h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L12.293 7.5H6.5A.5.5 0 0 0 6 8zm-2.5 7a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5z" /> <path fill-rule="evenodd" d="M6 8a.5.5 0 0 0 .5.5h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L12.293 7.5H6.5A.5.5 0 0 0 6 8zm-2.5 7a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5z" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment