-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
41 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
{% import '_includes/forms' as forms %} | ||
|
||
<div class="bulkedit field-edit-modal"> | ||
<form id="bulk-edit-values-modal"> | ||
{% if fieldHtml %} | ||
<div class="pane"> | ||
{{ fieldHtml|raw }} | ||
</div> | ||
<div class="field-edit-modal-bar"> | ||
<div class="buttons right"> | ||
<div class="btn" id="field-edit-cancel">{{"Cancel"|t('venveo-bulk-edit')}}</div> | ||
<input type="button" value="Save {{ totalElements }} Elements" class="btn submit"></div> | ||
</div> | ||
{% else %} | ||
<p>{{"It doesn't look like there are any fields that support bulk editing on these elements."|t('venveo-bulk-edit')}}</p> | ||
<div class="field-edit-modal-bar"> | ||
<div class="buttons right"> | ||
<div class="btn" id="field-edit-cancel">{{"Cancel"|t('venveo-bulk-edit')}}</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
</form> | ||
<form id="bulk-edit-values-modal"> | ||
{% if fieldHtml %} | ||
{% namespace namespace ?? null %} | ||
<div class="pane"> | ||
{{ fieldHtml|raw }} | ||
</div> | ||
{% endnamespace %} | ||
<div class="field-edit-modal-bar"> | ||
<div class="buttons right"> | ||
<div class="btn" id="field-edit-cancel">{{ "Cancel"|t('venveo-bulk-edit') }}</div> | ||
<input type="button" value="Save {{ totalElements }} Elements" class="btn submit"></div> | ||
</div> | ||
{% else %} | ||
<p>{{ "It doesn't look like there are any fields that support bulk editing on these elements."|t('venveo-bulk-edit') }}</p> | ||
<div class="field-edit-modal-bar"> | ||
<div class="buttons right"> | ||
<div class="btn" id="field-edit-cancel">{{ "Cancel"|t('venveo-bulk-edit') }}</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
</form> | ||
</div> |