From d01cc219fa05ed8c1c71676faf46cb67eb3759d4 Mon Sep 17 00:00:00 2001 From: Zambom Date: Wed, 8 Mar 2017 21:48:28 -0300 Subject: [PATCH] Answered goals report style adjustments and activate i18n --- amadeus/static/css/base/amadeus.css | 4 ++++ amadeus/static/js/goals_reports.js | 3 ++- goals/templates/goals/_answered.html | 16 ++++------------ goals/templates/goals/reports.html | 26 ++++++++++++++++++++++++++ 4 files changed, 36 insertions(+), 13 deletions(-) diff --git a/amadeus/static/css/base/amadeus.css b/amadeus/static/css/base/amadeus.css index 487e15e..efe1d22 100755 --- a/amadeus/static/css/base/amadeus.css +++ b/amadeus/static/css/base/amadeus.css @@ -1196,6 +1196,10 @@ li.item .notify_badge { font-weight: 700; font-size: 20px; } + +div.dataTables_wrapper div.dataTables_paginate { + text-align: center !important; +} /* End Goals */ diff --git a/amadeus/static/js/goals_reports.js b/amadeus/static/js/goals_reports.js index c5b1f30..3c4eb9c 100644 --- a/amadeus/static/js/goals_reports.js +++ b/amadeus/static/js/goals_reports.js @@ -23,7 +23,8 @@ function getAnswered() { // return false; // }); $('#answered_table').DataTable({ - "dom": "frtip" + "dom": "frtip", + "language": dataTablei18n }); // var items = $("#answered_table").children(":visible").length; diff --git a/goals/templates/goals/_answered.html b/goals/templates/goals/_answered.html index 6f7a664..de8b0b1 100644 --- a/goals/templates/goals/_answered.html +++ b/goals/templates/goals/_answered.html @@ -8,27 +8,19 @@ diff --git a/goals/templates/goals/reports.html b/goals/templates/goals/reports.html index ae95921..b6a94fb 100644 --- a/goals/templates/goals/reports.html +++ b/goals/templates/goals/reports.html @@ -66,5 +66,31 @@ + {% endblock %} \ No newline at end of file -- libgit2 0.21.2
- - {% trans 'Student' %} - + {% trans 'Student' %} {% trans 'Group' %} - - {% trans 'Definition Date' %} - + {% trans 'Definition Date' %} - - {% trans 'Update Date' %} - + {% trans 'Update Date' %} - - {% trans 'Goals' %} - + {% trans 'Goals' %}