mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Dirty onclick to share log with yunopaste using display --share
This commit is contained in:
parent
eee196e090
commit
04582fd27f
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
</div>
|
||||
|
||||
<div class="actions-group">
|
||||
<a data-paste-content="#description, #metadata, #env, #log" class="btn btn-success">
|
||||
<a href="javascript:void(null);" onclick="c.api('/logs/display?path={{#if log.name}}{{ log.name }}{{else}}{{ log.log_path }}{{/if}}&share', function(data) { $('div.loader').remove(); window.open(data.url, '_blank'); });" class="btn btn-success">
|
||||
<span class="fa-cloud-upload"></span> {{t 'logs_share_with_yunopaste'}}
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue