diff options
author | Alexander Kabui | 2020-12-07 12:23:01 +0300 |
---|---|---|
committer | Alexander Kabui | 2020-12-07 12:23:01 +0300 |
commit | 0319428bc26ba7d956dc7564ad69feeae7c9ef90 (patch) | |
tree | a65785257ece547769cd91826ad237f9d5a07fc5 | |
parent | d76bb8ed8fb7a015e7563f64b6b3d6760cf874d8 (diff) | |
download | genenetwork2-0319428bc26ba7d956dc7564ad69feeae7c9ef90.tar.gz |
replace js_alt/timeago in templates
-rw-r--r-- | wqflask/wqflask/templates/admin/ind_user_manager.html | 2 | ||||
-rw-r--r-- | wqflask/wqflask/templates/collections/list.html | 2 | ||||
-rw-r--r-- | wqflask/wqflask/templates/collections/not_logged_in.html | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/wqflask/wqflask/templates/admin/ind_user_manager.html b/wqflask/wqflask/templates/admin/ind_user_manager.html index e859b442..b821e5d5 100644 --- a/wqflask/wqflask/templates/admin/ind_user_manager.html +++ b/wqflask/wqflask/templates/admin/ind_user_manager.html @@ -103,7 +103,7 @@ {% block js %} - <script type="text/javascript" src="/static/packages/smart-time-ago/lib/timeago.js"></script> + <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='js_alt/timeago.min.js') }}"></script> <script> $('body').timeago(); </script> diff --git a/wqflask/wqflask/templates/collections/list.html b/wqflask/wqflask/templates/collections/list.html index 9e0c0f07..280ca6cc 100644 --- a/wqflask/wqflask/templates/collections/list.html +++ b/wqflask/wqflask/templates/collections/list.html @@ -66,7 +66,7 @@ {% endblock %} {% block js %} - <script type="text/javascript" src="/static/packages/smart-time-ago/lib/timeago.js"></script> + <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='js_alt/timeago.min.js') }}"></script> <script type="text/javascript" src="/static/new/javascript/search_results.js"></script> <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTables/js/jquery.dataTables.min.js') }}"></script> <script language="javascript" type="text/javascript" src="/static/new/js_external/jszip.min.js"></script> diff --git a/wqflask/wqflask/templates/collections/not_logged_in.html b/wqflask/wqflask/templates/collections/not_logged_in.html index a4c8747e..49b0e07d 100644 --- a/wqflask/wqflask/templates/collections/not_logged_in.html +++ b/wqflask/wqflask/templates/collections/not_logged_in.html @@ -5,7 +5,7 @@ {{ header("Not logged in") }} - <div id "collections_holder" class="container"> + <div id="collections_holder" class="container"> <div class="page-header"> <h1>Please log in in order to use this feature.</h1> </div> @@ -16,7 +16,7 @@ {% endblock %} {% block js %} - <script type="text/javascript" src="/static/packages/smart-time-ago/lib/timeago.js"></script> + <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='js_alt/timeago.min.js') }}"></script> <script> $('body').timeago(); </script> |