add bookmarks view
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
{%- macro collection_item(name='', can_delete=true, id=-1, thread_count=0, post_count=0) -%}
|
||||
<input name="name[]" type="text" autocomplete="off" value="{{name}}" required maxlength=60 placeholder="Collection name">
|
||||
<input type="hidden" name="id[]" value="{{ 'new' if id == -1 else id}}" autocomplete="off">
|
||||
<span>{{thread_count}} {{'thread' | pluralize(num=thread_count)}}, {{post_count}} {{'post' | pluralize(num=post_count)}} </span>
|
||||
<span>{{thread_count}} {{'thread' | pluralize(num=thread_count)}}, {{post_count}} {{'post' | pluralize(num=post_count)}}</span>
|
||||
{%- if not can_delete -%}
|
||||
<i>Default collection</i>
|
||||
{%- else -%}
|
||||
@@ -20,7 +20,7 @@ Drag collections to reoder them. You cannot move or remove the default collectio
|
||||
<div data-r="enhanceHide">This page requires JS enabled to work correctly.</div>
|
||||
{%- endset -%}
|
||||
{%- call() subheader('Manage bookmark collections', sh) -%}
|
||||
<fieldset class="plank even no-shadow minimal thread-actions js-only" data-r="enhance">
|
||||
<fieldset class="plank even no-shadow minimal subheader-actions js-only" data-r="enhance">
|
||||
<legend>Actions</legend>
|
||||
<button data-s="addCollection">Add new collection</button>
|
||||
<input type="submit" class="alt" value="Save collections" form="collections-form">
|
||||
|
||||
Reference in New Issue
Block a user