mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-14 14:09:26 +02:00

* Add url create/edit query paramter to clear cache * Add refresh bookmark metadata button in create/edit bookmark page * Fix refresh bookmark metadata when editing existing bookmark * Add bulk refresh metadata functionality * Fix test cases for bulk view dropdown selection list * Allow bulk metadata refresh when background tasks are disabled * Move load preview image call on refresh metadata * Update bookmark modified time on metadata refresh * Rename function to align with convention * Add tests for refresh task * Add tests for bookmarks service refresh metadata * Add tests for bookmarks api disable cache on check * Remove bulk refresh metadata when background tasks disabled * Refactor refresh metadata task * Remove unnecessary call * Fix testing mock name * Abstract clearing metadata cache * Add test to check if load page is called twice when cache disabled * Remove refresh button for new bookmarks * Remove strict disable cache is true check * Refactor refresh metadata form logic into its own function * move button and highlight changes * polish and update tests --------- Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
42 lines
1.7 KiB
HTML
42 lines
1.7 KiB
HTML
{% load shared %}
|
|
{% htmlmin %}
|
|
<div class="bulk-edit-bar">
|
|
<div class="bulk-edit-actions">
|
|
<label class="form-checkbox bulk-edit-checkbox all">
|
|
<input type="checkbox">
|
|
<i class="form-icon"></i>
|
|
</label>
|
|
<select name="bulk_action" class="form-select select-sm">
|
|
{% if not 'bulk_archive' in disable_actions %}
|
|
<option value="bulk_archive">Archive</option>
|
|
{% endif %}
|
|
{% if not 'bulk_unarchive' in disable_actions %}
|
|
<option value="bulk_unarchive">Unarchive</option>
|
|
{% endif %}
|
|
<option value="bulk_delete">Delete</option>
|
|
<option value="bulk_tag">Add tags</option>
|
|
<option value="bulk_untag">Remove tags</option>
|
|
<option value="bulk_read">Mark as read</option>
|
|
<option value="bulk_unread">Mark as unread</option>
|
|
{% if request.user_profile.enable_sharing %}
|
|
<option value="bulk_share">Share</option>
|
|
<option value="bulk_unshare">Unshare</option>
|
|
{% endif %}
|
|
<option value="bulk_refresh">Refresh from website</option>
|
|
</select>
|
|
<div class="tag-autocomplete d-none" ld-tag-autocomplete>
|
|
<input name="bulk_tag_string" class="form-input input-sm" placeholder="Tag names..." variant="small">
|
|
</div>
|
|
<button ld-confirm-button type="submit" name="bulk_execute" class="btn btn-link btn-sm">
|
|
<span>Execute</span>
|
|
</button>
|
|
|
|
<label class="form-checkbox select-across d-none">
|
|
<input type="checkbox" name="bulk_select_across">
|
|
<i class="form-icon"></i>
|
|
All pages (<span class="total">{{ bookmark_list.bookmarks_total }}</span> bookmarks)
|
|
</label>
|
|
</div>
|
|
</div>
|
|
{% endhtmlmin %}
|