mirror of
https://github.com/flextype/flextype.git
synced 2025-08-17 18:36:39 +02:00
feat(admin-plugin): typo update for entries list
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
{% else %}
|
||||
{% set _entries = entries.fetch(entry.slug, {}) %}
|
||||
{% set _entries_length = _entries | length %}
|
||||
{% do
|
||||
{% do
|
||||
cache.save(entry.slug ~ '_counter', _entries_length) %}
|
||||
{% endif %}
|
||||
<div class="w-full md:w-3/12 lg:w-2/12 text-center p-4 relative">
|
||||
@@ -145,7 +145,7 @@
|
||||
{% else %}
|
||||
{% set _entries = entries.fetch(entry.slug, {}) %}
|
||||
{% set _entries_length = _entries | length %}
|
||||
{% do
|
||||
{% do
|
||||
cache.save(entry.slug ~ '_counter', _entries_length) %}
|
||||
{% endif %}
|
||||
<a href="{% if _entries_length > 0 %}{{ path_for('admin.entries.index') }}?id={{ entry.slug }}{% else %}{{ path_for('admin.entries.edit') }}?id={{ entry.slug }}&type=editor{% endif %}">
|
||||
@@ -172,8 +172,7 @@
|
||||
</a>
|
||||
</td>
|
||||
<td class="truncate {% if entry.visibility == 'hidden' or entry.visibility == 'draft' or entry.routable == false %}opacity-50{% endif %}">
|
||||
/
|
||||
{{ entry.slug }}
|
||||
<a target="_blank" href="{{ base_url() }}/{{ entry.slug }}">/{{ entry.slug }}</a>
|
||||
</td>
|
||||
<td class="{% if entry.visibility == 'hidden' or entry.visibility == 'draft' or entry.routable == false %}opacity-50{% endif %}">
|
||||
{{ entry.published_at }}
|
||||
@@ -290,4 +289,4 @@
|
||||
});
|
||||
}
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user