Add a button to share the diagnosis results

This commit is contained in:
Alexandre Aubin 2019-08-01 19:22:42 +02:00
parent a2b7adb64c
commit c283b50186

View file

@ -3,6 +3,12 @@
<a href="#/diagnosis">{{t 'diagnosis'}}</a> <a href="#/diagnosis">{{t 'diagnosis'}}</a>
</div> </div>
<div class="actions-group">
<a href="javascript:void(null);" onclick="c.api('/diagnosis/show?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>
<div class="separator"></div> <div class="separator"></div>
{{#reports}} {{#reports}}