forked from Public/pics
EditAssetForm: add "View asset" button
This commit is contained in:
parent
8f4ed7e3b0
commit
0b24ef8b07
@ -31,6 +31,7 @@ class EditAssetForm extends Template
|
|||||||
Session::getSessionTokenKey(), '=', Session::getSessionToken(),
|
Session::getSessionTokenKey(), '=', Session::getSessionToken(),
|
||||||
'" onclick="return confirm(\'Are you sure you want to delete this asset?\');">',
|
'" onclick="return confirm(\'Are you sure you want to delete this asset?\');">',
|
||||||
'Delete asset</a>
|
'Delete asset</a>
|
||||||
|
<a class="btn btn-light" href="', $this->asset->getPageUrl(), '#photo_frame">View asset</a>
|
||||||
<button class="btn btn-primary" type="submit">Save asset data</button>
|
<button class="btn btn-primary" type="submit">Save asset data</button>
|
||||||
</div>
|
</div>
|
||||||
<h2>Edit asset \'', $this->asset->getTitle(), '\' (', $this->asset->getFilename(), ')</h2>
|
<h2>Edit asset \'', $this->asset->getTitle(), '\' (', $this->asset->getFilename(), ')</h2>
|
||||||
|
Loading…
Reference in New Issue
Block a user