@rmdes/indiekit-endpoint-microsub 1.0.47 → 1.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rmdes/indiekit-endpoint-microsub",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "Microsub endpoint for Indiekit. Enables subscribing to feeds and reading content using the Microsub protocol.",
5
5
  "keywords": [
6
6
  "indiekit",
package/views/actor.njk CHANGED
@@ -38,14 +38,14 @@
38
38
  </div>
39
39
  <div class="ms-actor-profile__actions">
40
40
  <a href="{{ actor.url }}" class="button button--secondary button--small" target="_blank" rel="noopener">
41
- {{ icon("external") }} View profile
41
+ {{ icon("syndicate") }} View profile
42
42
  </a>
43
43
  {% if canFollow %}
44
44
  {% if isFollowing %}
45
45
  <form action="{{ baseUrl }}/actor/unfollow" method="POST" style="display: inline;">
46
46
  <input type="hidden" name="actorUrl" value="{{ actorUrl }}">
47
47
  <button type="submit" class="button button--secondary button--small">
48
- {{ icon("checkboxChecked") }} Following
48
+ {{ icon("tick") }} Following
49
49
  </button>
50
50
  </form>
51
51
  {% else %}
@@ -152,7 +152,7 @@
152
152
  {# Actions #}
153
153
  <div class="ms-item-actions">
154
154
  <a href="{{ item.url }}" class="ms-item-actions__button" target="_blank" rel="noopener" title="View original">
155
- {{ icon("external") }}
155
+ {{ icon("syndicate") }}
156
156
  </a>
157
157
  <a href="{{ baseUrl }}/compose?reply={{ item.url | urlencode }}" class="ms-item-actions__button" title="Reply">
158
158
  {{ icon("reply") }}
package/views/channel.njk CHANGED
@@ -10,7 +10,7 @@
10
10
  <input type="hidden" name="channel" value="{{ channel.uid }}">
11
11
  <input type="hidden" name="entry" value="last-read-entry">
12
12
  <button type="submit" class="button button--secondary button--small">
13
- {{ icon("checkboxChecked") }} {{ __("microsub.reader.markAllRead") }}
13
+ {{ icon("tick") }} {{ __("microsub.reader.markAllRead") }}
14
14
  </button>
15
15
  </form>
16
16
  {% endif %}
@@ -58,7 +58,7 @@
58
58
  {% else %}
59
59
  <div class="ms-reader__empty">
60
60
  {% if readCount > 0 and not showRead %}
61
- {{ icon("checkboxChecked") }}
61
+ {{ icon("tick") }}
62
62
  <p>{{ __("microsub.reader.allRead") }}</p>
63
63
  <a href="{{ baseUrl }}/channels/{{ channel.uid }}?showRead=true" class="button button--secondary">
64
64
  {{ icon("show") }} {{ __("microsub.reader.showRead", { count: readCount }) }}
package/views/item.njk CHANGED
@@ -130,7 +130,7 @@
130
130
  <footer class="ms-item__actions">
131
131
  {% if item.url %}
132
132
  <a href="{{ item.url }}" class="button button--secondary button--small" target="_blank" rel="noopener">
133
- {{ icon("external") }} {{ __("microsub.item.viewOriginal") }}
133
+ {{ icon("syndicate") }} {{ __("microsub.item.viewOriginal") }}
134
134
  </a>
135
135
  {% endif %}
136
136
  <a href="{{ baseUrl }}/compose?reply={{ item.url | urlencode }}" class="button button--secondary button--small">
@@ -150,7 +150,7 @@
150
150
  class="button button--secondary button--small ms-item__mark-read"
151
151
  data-item-id="{{ item._id }}"
152
152
  data-channel="{{ channel.uid }}">
153
- {{ icon("checkboxChecked") }} {{ __("microsub.timeline.markRead") }}
153
+ {{ icon("tick") }} {{ __("microsub.timeline.markRead") }}
154
154
  </button>
155
155
  {% endif %}
156
156
  </footer>
@@ -158,7 +158,7 @@
158
158
  {% endif %}
159
159
  {% if item.url %}
160
160
  <a href="{{ item.url }}" class="ms-item-actions__button" target="_blank" rel="noopener" title="View original">
161
- {{ icon("external") }}
161
+ {{ icon("syndicate") }}
162
162
  <span class="-!-visually-hidden">Original</span>
163
163
  </a>
164
164
  {% endif %}
@@ -188,7 +188,7 @@
188
188
  {% if item._channelUid %}data-channel-uid="{{ item._channelUid }}"{% endif %}
189
189
  {% if item._channelId %}data-channel-id="{{ item._channelId }}"{% endif %}
190
190
  title="Mark as read">
191
- {{ icon("checkboxChecked") }}
191
+ {{ icon("tick") }}
192
192
  <span class="-!-visually-hidden">Mark read</span>
193
193
  </button>
194
194
  <button type="button"
@@ -213,7 +213,7 @@
213
213
  {% if item._channelUid %}data-channel-uid="{{ item._channelUid }}"{% endif %}
214
214
  {% if item._channelId %}data-channel-id="{{ item._channelId }}"{% endif %}
215
215
  title="Mark as read">
216
- {{ icon("checkboxChecked") }}
216
+ {{ icon("tick") }}
217
217
  <span class="-!-visually-hidden">Mark read</span>
218
218
  </button>
219
219
  {% endif %}