diff --git a/templates/layout_cristina.html b/templates/layout_cristina.html
index 6e7d22b..7ef7690 100644
--- a/templates/layout_cristina.html
+++ b/templates/layout_cristina.html
@@ -29,17 +29,34 @@
+
{% for querylibrarian in urllibrarian %}
{% for file in filetoname_dict %}
{% for item in file['librarian'] %}
- {% if item == querylibrarian and urlmethod != ['']%}
+ {% if item == querylibrarian and urlmethod == []%}
{% set show_file = file['debrisname'] %}
{{show_file}}
+ {% elif item == querylibrarian %}
+ {% for urlmeth in urlmethod %}
+ {% if urlmeth.lower() == file['method'].lower() %}
+ {% set show_file = file['debrisname'] %}
+ {{show_file}}
+ {% endif %}
+ {% endfor %}
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
+
+ {% for querymethod in urlmethod %}
+ {% for file in filetoname_dict %}
+ {% if querymethod.lower() == file['method'].lower()%}
+ {% set show_file = file['debrisname'] %}
+ {{show_file}}
+ {% endif %}
+ {% endfor %}
+ {% endfor %}
@@ -122,12 +139,12 @@
}
return obj;
};
- var libList = getAllUrlParams().librarian;
- var methodList = getAllUrlParams().method;
- for (i=0; i < libList.length; i++) {
- var search_id = libList[i].toString(2);
- var element = document.getElementById(search_id);
- }
+ // var libList = getAllUrlParams().librarian;
+ // var methodList = getAllUrlParams().method;
+ // for (i=0; i < libList.length; i++) {
+ // var search_id = libList[i].toString(2);
+ // var element = document.getElementById(search_id);
+ // }
// for (i=0; i