Browse Source

general index fix #541

Bachir Soussi Chiadmi 4 years ago
parent
commit
62de7f6b06

+ 1 - 1
web/modules/custom/edlp_corpus/includes/edlp_corpus_docsindex.inc

@@ -23,7 +23,7 @@ function template_preprocess_edlp_corpus_docsindex(&$vars){
       "#attributes"=>array(
         "class"=>['docsindex']
       ),
-      "#markup"=>"<h3>".t("Documents Index")."</h3>",
+      "#markup"=>"<h3>".t("All Documents")."</h3>",
       "docsindex"=>$docsindex_list
     );
   }

+ 1 - 1
web/modules/custom/edlp_corpus/src/Controller/CorpusController.php

@@ -240,7 +240,7 @@ class CorpusController extends ControllerBase {
       $data = [
         'rendered'=> $rendered,
         'title'=>t('Documents Index'),
-        'documents_lies' => $this->docsindex_nids,
+        // 'documents_lies' => $this->docsindex_nids,
       ];
 
       // translations links

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/edlptheme/assets/dist/scripts/main.min.js


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


+ 1 - 1
web/themes/custom/edlptheme/assets/scripts/main.js

@@ -553,7 +553,7 @@
 
     function initAudioLinksHover(){
       console.log("initAudioLinksHover()");
-      _$row.find('a.audio-link')
+      _$row.find('*:not(.node--view-mode-docsindex) a.audio-link')
         .on('mouseover', function(event) {
           event.preventDefault();
           if(_corpus_ready){

+ 1 - 1
web/themes/custom/edlptheme/assets/styles/app.scss

@@ -2156,7 +2156,7 @@ footer{
           pointer-events: none;
           // docsindex
           &:first-of-type{
-            margin-right: 4em;
+            margin-right: 3.4em;
           }
           // articles
           &:last-of-type:not(.entree){

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