diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-04-30 10:47:48 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-04-30 10:47:48 +0200 |
commit | 0b062d0b8ae89b40b4e036f874f6af3780c30451 (patch) | |
tree | dd37934714db3344ce7770c14755f7a62c92c25b /view/tpl | |
parent | 9cc1eff15cae3884458a6f7171140f2780665ff7 (diff) | |
download | volse-hubzilla-0b062d0b8ae89b40b4e036f874f6af3780c30451.tar.gz volse-hubzilla-0b062d0b8ae89b40b4e036f874f6af3780c30451.tar.bz2 volse-hubzilla-0b062d0b8ae89b40b4e036f874f6af3780c30451.zip |
select event by event_hash instead of item_id
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/cdav_calendar.tpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/view/tpl/cdav_calendar.tpl b/view/tpl/cdav_calendar.tpl index 6dc88b493..8b91275ee 100644 --- a/view/tpl/cdav_calendar.tpl +++ b/view/tpl/cdav_calendar.tpl @@ -309,6 +309,10 @@ $(document).ready(function() { if(resource !== null) { $('.section-content-tools-wrapper, #event_form_wrapper').show(); + + $('#id_title_wrapper').prepend('<span id="l2s" class="float-right"></span>'); + $('#l2s').html('<a href="' + resource.plink[0] + '" target="_blank"><i class="fa fa-external-link"></i> ' + resource.plink[1] + '</a>'); + event_id = resource.id; event_uri = resource.event_hash; $('#calendar_select').val('channel_calendar').attr('disabled', true); |