2 Commits 0a2d25bbd6 ... 02f79c5eb9

Author SHA1 Message Date
  Bachir Soussi Chiadmi 02f79c5eb9 added 'see all' to last docs block in home #459 5 years ago
  Bachir Soussi Chiadmi a6f139db32 fixed addtoany translation 5 years ago

+ 13 - 0
sites/all/modules/figli/edlp_home/includes/edlp_home.inc

@@ -89,6 +89,19 @@ function template_preprocess_edlp_home(&$vars){
         '#theme' => 'item_list',
         '#items' => [],
       ),
+      'seeall'=>array(
+        '#type' => 'link',
+        '#prefix'=> '<nav>',
+        '#title' => t("See all"),
+        '#suffix'=> '</nav>',
+        '#url' => $lastdocs_url,
+        '#options'=>array(
+          'attributes' => array(
+            'data-drupal-link-system-path' => $lastdocs_url->getInternalPath(),
+            'class' => array('ajax-link'),
+          )
+        )
+      ),
     );
     foreach($vars['lastdocs_items'] as $node){
       $lastdocs['list']['#items'][] = $node_view_builder->view($node, 'search_index');

File diff suppressed because it is too large
+ 0 - 0
sites/all/themes/custom/edlptheme/assets/dist/styles/app.min.css


+ 7 - 0
sites/all/themes/custom/edlptheme/assets/styles/app.scss

@@ -560,6 +560,11 @@ main[role="main"]{
         @include entree-micro-square;
       }
     }
+    nav{
+      a{
+        font-size: 0.756em;
+      }
+    }
   }
 
   div.lastdocs{
@@ -1678,6 +1683,8 @@ body.path-agenda main .col{
 // | __ / _ \ '  \/ -_)
 // |_||_\___/_|_|_\___|
 
+
+
 //  ___             _         _   _
 // | _ \_ _ ___  __| |_  _ __| |_(_)___ _ _  ___
 // |  _/ '_/ _ \/ _` | || / _|  _| / _ \ ' \(_-<

+ 1 - 1
sites/default/config/sync/language/en/addtoany.settings.yml

@@ -1 +1 @@
-additional_html: "<a class=\"a2a_button_facebook\"></a>\n<a class=\"a2a_button_twitter\"></a>\n<a class=\"a2a_button_google_plus\"></a>\n"
+additional_html: "<a class=\"a2a_button_facebook\"></a>\r\n<a class=\"a2a_button_twitter\"></a>\r\n<a class=\"a2a_button_reddit\"></a>\r\n<a class=\"a2a_button_email\"></a>"

Some files were not shown because too many files changed in this diff