Skip to content

Commit 3fb2bb5

Browse files
committed
Used heroicons instead of provided svgs
1 parent 6e8728a commit 3fb2bb5

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

hypha/apply/funds/templates/funds/includes/table_filter_and_search.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ <h2 class="mb-2 card-title">{{ heading }}</h2>
113113
{% else %}
114114
{% dropdown_menu title=field.label heading=field|get_dropdown_heading position="right" %}
115115
<calendar-range class="mx-auto cally" onchange="updateURL(this.value, '{{field_name}}')" data-field-name='{{field_name}}'>
116-
<svg aria-label="Previous" class="fill-current size-4" slot="previous" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.75 19.5 8.25 12l7.5-7.5"></path></svg>
117-
<svg aria-label="Next" class="fill-current size-4" slot="next" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m8.25 4.5 7.5 7.5-7.5 7.5"></path></svg>
116+
{% heroicon_solid "chevron-left" aria_label="Previous" slot="previous" class="size-4" %}
117+
{% heroicon_solid "chevron-right" aria_label="Next" slot="next" class="size-4" %}
118118
<calendar-month></calendar-month>
119119
</calendar-range>
120120
{% enddropdown_menu %}

hypha/apply/funds/templates/submissions/all.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -324,16 +324,16 @@
324324
>
325325
{% dropdown_menu title="Submitted" heading="Filter by submitted date(s)" %}
326326
<calendar-range class="mx-auto cally" {% if selected_submitted_date %}value="{{selected_submitted_date}}"{% endif %} onchange="setDateFromPicker(this.value, 'submitted')">
327-
<svg aria-label="Previous" class="fill-current size-4" slot="previous" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.75 19.5 8.25 12l7.5-7.5"></path></svg>
328-
<svg aria-label="Next" class="fill-current size-4" slot="next" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m8.25 4.5 7.5 7.5-7.5 7.5"></path></svg>
327+
{% heroicon_solid "chevron-left" aria_label="Previous" slot="previous" class="size-4" %}
328+
{% heroicon_solid "chevron-right" aria_label="Next" slot="next" class="size-4" %}
329329
<calendar-month></calendar-month>
330330
</calendar-range>
331331
{% enddropdown_menu %}
332332

333333
{% dropdown_menu title="Updated" heading="Filter by updated date(s)" %}
334334
<calendar-range class="mx-auto cally" {% if selected_updated_date %}value="{{selected_updated_date}}"{% endif %} onchange="setDateFromPicker(this.value, 'updated')">
335-
<svg aria-label="Previous" class="fill-current size-4" slot="previous" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.75 19.5 8.25 12l7.5-7.5"></path></svg>
336-
<svg aria-label="Next" class="fill-current size-4" slot="next" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m8.25 4.5 7.5 7.5-7.5 7.5"></path></svg>
335+
{% heroicon_solid "chevron-left" aria_label="Previous" slot="previous" class="size-4" %}
336+
{% heroicon_solid "chevron-right" aria_label="Next" slot="next" class="size-4" %}
337337
<calendar-month></calendar-month>
338338
</calendar-range>
339339
{% enddropdown_menu %}

0 commit comments

Comments
 (0)