AntonLV 6 ani în urmă
părinte
comite
19efc8d4c8

+ 1 - 0
modules/boonex/timeline/classes/BxTimelineTemplate.php

@@ -2028,6 +2028,7 @@ class BxTimelineTemplate extends BxBaseModNotificationsTemplate
             if($iAttachmentsTotal > $iAttachmentsShow)
             if($iAttachmentsTotal > $iAttachmentsShow)
                 $aTmplVarsAttachments[$iAttachmentsShow - 1]['item'] .= $this->parseHtmlByName('attach_more.html', array(
                 $aTmplVarsAttachments[$iAttachmentsShow - 1]['item'] .= $this->parseHtmlByName('attach_more.html', array(
                     'style_prefix' => $sStylePrefix,
                     'style_prefix' => $sStylePrefix,
+                    'link' => $this->_oConfig->getItemViewUrl($aEvent),
                     'more' => $iAttachmentsTotal - $iAttachmentsShow
                     'more' => $iAttachmentsTotal - $iAttachmentsShow
                 ));
                 ));
         }
         }

+ 1 - 1
modules/boonex/timeline/template/attach_more.html

@@ -1,3 +1,3 @@
 <div class="__style_prefix__-item-more">
 <div class="__style_prefix__-item-more">
-    <span>+__more__</span>
+    <span><a href="__link__">+__more__</a></span>
 </div>
 </div>

+ 3 - 0
modules/boonex/timeline/template/css/view.css

@@ -733,6 +733,9 @@ div.bx-tl-item-attachments.bx-tl-ia-showcase .bx-tl-item-more {
     background-color: rgba(0, 0, 0, 0.7);
     background-color: rgba(0, 0, 0, 0.7);
 
 
     font-size: 2.5rem;
     font-size: 2.5rem;
+}
+div.bx-tl-item-attachments.bx-tl-ia-showcase .bx-tl-item-more,
+div.bx-tl-item-attachments.bx-tl-ia-showcase .bx-tl-item-more a {
     color: #ffffff;
     color: #ffffff;
 }
 }