mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-18 17:54:47 +00:00
11 lines
536 B
HTML
11 lines
536 B
HTML
{% set service_name = service_name or _('the cloud') %}
|
|
<a href="#" class="i-button js-dialog-action"
|
|
data-href="{{ url_for_plugin('owncloud.upload_owncloud', linked_object) }}"
|
|
data-title="{%- trans -%}Add files from {{ service_name }}{%- endtrans -%}">
|
|
<span class="{{ 'icon-cloud2' if not button_icon_url }}"></span>
|
|
{%- if button_icon_url -%}
|
|
<img height="24" src="{{ button_icon_url }}" alt="">
|
|
{%- endif -%}
|
|
<span class="button-label">{%- trans -%}From {{ service_name }}{%- endtrans -%}</span>
|
|
</a>
|