From 373abdb33179eb201d8914d1d1cb1628284c9c0d Mon Sep 17 00:00:00 2001 From: siddhu dhangar Date: Thu, 29 Mar 2018 11:12:03 +0530 Subject: [PATCH 1/5] replaced edit metadata to edit profle in user profile --- gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/lms.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/lms.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/lms.html index 1c806234f2..026b66d596 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/lms.html +++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/lms.html @@ -184,7 +184,7 @@ {% endif %}
  • - {% trans "Edit Metadata" %} + {% if 'Author' in group_object_member_of_names_list %} {% trans "Edit Profile" %} {% else %} {% trans "Edit Metadata" %} {% endif %}
  • {% trans "Delete" %}
  • From 6f4dd7b80d3b96521b219afbafeff3c454048a0f Mon Sep 17 00:00:00 2001 From: siddhu dhangar Date: Thu, 29 Mar 2018 11:28:47 +0530 Subject: [PATCH 2/5] Home button redirect to welcome page --- .../gnowsys_ndf/ndf/templates/ndf/header.html | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/header.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/header.html index 18f8243b15..202ec1f950 100755 --- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/header.html +++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/header.html @@ -451,16 +451,19 @@
    {{each_buddy}}
    - - {% trans "Next Lesson" %} + {% if "announced_unit" in node.member_of_names_list or "drafts_unit" in node.member_of_names_list%} + + + {% trans "Previous Lesson" %} + + {% else %} + + {% trans "Next Section" %} + {% endif %} +
    diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/header.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/header.html index 202ec1f950..db9232c699 100755 --- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/header.html +++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/header.html @@ -129,7 +129,23 @@

    My Desk {% endif %} - +
  • +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
  • {% comment %} @@ -532,23 +548,7 @@

    --> -
  • -
    - -
    -
    - -
    -
    - -
    -
    -
    -
  • @@ -647,3 +647,21 @@

    {% endif %} + From 648102de3d4a4b496f62cdd87f8efb6ac37aeae5 Mon Sep 17 00:00:00 2001 From: siddhu dhangar Date: Fri, 30 Mar 2018 15:35:42 +0530 Subject: [PATCH 4/5] search box moved to top header --- .../gnowsys_ndf/ndf/templates/ndf/header.html | 88 ++++++++++++++++--- 1 file changed, 74 insertions(+), 14 deletions(-) diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/header.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/header.html index db9232c699..1e86d31f70 100755 --- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/header.html +++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/header.html @@ -129,13 +129,22 @@

    My Desk {% endif %} +
  • +
    + +
    + +
  • -
    - + +
    - +