-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Adding these changes here as part of #517 instead of in #513 because the latter is outdated compared to the former with regard to these templates. @JeltevanBoheemen FYI
- Loading branch information
1 parent
645b6b0
commit 731c44f
Showing
3 changed files
with
62 additions
and
47 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
frontend/src/panel-source/source-metadata-panel-template.hbs
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,12 +1,12 @@ | ||
<div class="panel-header"> | ||
<h4 class="title is-4">Source {{identifier}}, created by {{creator}} at {{dateUploaded}}</h4> | ||
<h4 class="title is-4">{{#i18n 'source_meta_summary'}}Source {{identifier}}, created by {{creator}} at {{dateUploaded}}{{/i18n}}</h4> | ||
</div> | ||
<div class="panel-content"> | ||
<!-- source-metadata will be rendered here--> | ||
</div> | ||
<div class="panel-footer buttons is-right">{{#userIsOwner}} | ||
<button type=button class="button btn-delete is-danger edit-mode">Delete source</button> | ||
<button type="submit" class="button btn-save edit-mode">Save changes</button> | ||
<button type=reset class="button btn-cancel edit-mode">Cancel</button> | ||
<button type=button class="button btn-edit">Edit</button> | ||
<button type=button class="button btn-delete is-danger edit-mode">{{#i18n 'delete_source'}}Delete source{{/i18n}}</button> | ||
<button type="submit" class="button btn-save edit-mode">{{#i18n 'save_changes'}}Save changes{{/i18n}}</button> | ||
<button type=reset class="button btn-cancel edit-mode">{{#i18n 'cancel'}}Cancel{{/i18n}}</button> | ||
<button type=button class="button btn-edit">{{#i18n 'edit'}}Edit{{/i18n}}</button> | ||
{{/userIsOwner}}</div> |
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