diff --git a/css/linkshare.css b/css/linkshare.css index 88279637..fd227f8b 100644 --- a/css/linkshare.css +++ b/css/linkshare.css @@ -117,4 +117,13 @@ } .shared-with-list .edit-options { text-align:right; +} + +.share-interface-container.internal-share::after { + width:75%; + height:0px; + display:block; + content:" "; + margin:0.2em auto 0.5em auto; + border-top:solid 1px #ddd; } \ No newline at end of file diff --git a/templates/part.internalshare.php b/templates/part.internalshare.php index c4551740..7378a214 100644 --- a/templates/part.internalshare.php +++ b/templates/part.internalshare.php @@ -1,62 +1,3 @@ - - - - - - - - - - -
- - - -*/ ?> - -
-
- - - - - -
  • - - - - - - -
  • - - -t('Not shared with anyone'); - print_unescaped('
    ' . OC_Util::sanitizeHTML($nobody) . '
    '); -} ?> -
    -" data-eventid="" data-location="" data-description="" data-dtstart="" data-dtend=""> -
    */ ?> \ No newline at end of file +
    \ No newline at end of file diff --git a/templates/part.share.php b/templates/part.share.php index 034890d8..a404431b 100644 --- a/templates/part.share.php +++ b/templates/part.share.php @@ -39,50 +39,20 @@ if(is_array($sharedwithByEvent)) { } } -?> - - - - -t('Not shared with anyone'); - print_unescaped('
    ' . OC_Util::sanitizeHTML($nobody) . '
    '); -} ?> -
    -" data-eventid="" data-location="" data-description="" data-dtstart="" data-dtend=""> -
    assign('item_id', $_['eventid']); +$tmpl->assign('item_type', 'event'); +$tmpl->assign('permissions', $_['permissions']); +$tmpl->assign('basic_edit_options', true); +$tmpl->assign('shared_with', $eventsharees); +$tmpl->printpage(); /* link-sharing an event */ $tmpl = new OCP\Template('calendar', 'part.linkshare'); $tmpl->assign('item_id', $_['eventid']); $tmpl->assign('item_type', 'event'); $tmpl->assign('permissions', $_['permissions']); $tmpl->assign('link_share', $linkShare); -//$tmpl->assign('shared', $shared); $tmpl->printpage(); /* end link-sharing an event */ ?>