Commit 117beb3aaaca5a225e021a1a2c76991c095b0c31
1 parent
ece3329d
Exists in
master
and in
5 other branches
Removed messages and notifications icons, changed Anonymous User to Guest(With t…
…ranslations) and fixed translations [Issues:#416,#398]
Showing
1 changed file
with
4 additions
and
21 deletions
Show diff stats
core/templates/guest.html
@@ -64,24 +64,7 @@ | @@ -64,24 +64,7 @@ | ||
64 | </div> | 64 | </div> |
65 | <div class="navbar-collapse collapse navbar-responsive-collapse"> | 65 | <div class="navbar-collapse collapse navbar-responsive-collapse"> |
66 | <ul class="nav navbar-nav navbar-right notifications"> | 66 | <ul class="nav navbar-nav navbar-right notifications"> |
67 | - <li class="" data-toggle="tooltip" data-placement="bottom" title data-original-title="notifications"> | ||
68 | - <a class="dropdown-toggle" data-toggle="dropdown"> <span id="notification-count" class="badge notification-count">{{notifications.count}}</span><i class="fa fa-bell" aria-hidden="true"></i></a> | ||
69 | - <ul id="notification-dropdown" class="dropdown-menu"> | ||
70 | - <li class="dropdown-header">{% trans 'Notifications' %}</li> | ||
71 | - {% include "notifications.html" %} | ||
72 | - | ||
73 | - <li> | ||
74 | - <a onclick="getNotifications(5)"> | ||
75 | - <div id="notification-see-more" class="list-group-item"> | ||
76 | - <div class="row-content"> | ||
77 | - <p class="list-group-item-text">{% trans 'See More' %}</p> | ||
78 | - </div> | ||
79 | - </a> | ||
80 | - </li> | ||
81 | - </ul> | ||
82 | - </li> | ||
83 | - <li data-toggle="tooltip" data-placement="bottom" title data-original-title="{% trans 'messages' %}"> <a href="#"><i class="fa fa-comments" aria-hidden="true"></i></a> </li> | ||
84 | - <li > <a class="link" href="{% url 'app:index' %}">{{ user }}</a></li> | 67 | + <li > <a class="link" href="{% url 'app:index' %}">{% trans 'Guest' %}</a></li> |
85 | <li data-toggle="tooltip" data-placement="bottom" title data-original-title="log out"> <a href="{% url 'app:index' %}"><i class="fa fa-sign-out" aria-hidden="true"></i></a></li> | 68 | <li data-toggle="tooltip" data-placement="bottom" title data-original-title="log out"> <a href="{% url 'app:index' %}"><i class="fa fa-sign-out" aria-hidden="true"></i></a></li> |
86 | </ul> | 69 | </ul> |
87 | </div> | 70 | </div> |
@@ -112,7 +95,7 @@ | @@ -112,7 +95,7 @@ | ||
112 | <form id="searchform" action="{% url 'course:manage' %}" method="get" accept-charset="utf-8"> | 95 | <form id="searchform" action="{% url 'course:manage' %}" method="get" accept-charset="utf-8"> |
113 | <div class="input-group"> | 96 | <div class="input-group"> |
114 | <div class="form-group is-empty"> | 97 | <div class="form-group is-empty"> |
115 | - <input type="search" class="form-control" placeholder="Search Courses" name="q" id="searchbox"></div> | 98 | + <input type="search" class="form-control" placeholder="{% trans 'Search Courses' %}" name="q" id="searchbox"></div> |
116 | <span class="input-group-btn input-group-sm"> | 99 | <span class="input-group-btn input-group-sm"> |
117 | <button type="button" class="btn btn-fab btn-fab-mini"> | 100 | <button type="button" class="btn btn-fab btn-fab-mini"> |
118 | <i class="material-icons">search</i> | 101 | <i class="material-icons">search</i> |
@@ -137,7 +120,7 @@ | @@ -137,7 +120,7 @@ | ||
137 | <h4 class="panel-title"> | 120 | <h4 class="panel-title"> |
138 | <a class="category-course-link" data-toggle="collapse" href="#{{category.slug}}">{{category.name}}</a> | 121 | <a class="category-course-link" data-toggle="collapse" href="#{{category.slug}}">{{category.name}}</a> |
139 | </h4> | 122 | </h4> |
140 | - | 123 | + |
141 | </div> | 124 | </div> |
142 | <div id="{{category.slug}}" class="panel-collapse collapse"> | 125 | <div id="{{category.slug}}" class="panel-collapse collapse"> |
143 | {% for course in category.course_category.all %} | 126 | {% for course in category.course_category.all %} |
@@ -161,4 +144,4 @@ | @@ -161,4 +144,4 @@ | ||
161 | {% endblock script_file %} | 144 | {% endblock script_file %} |
162 | </body> | 145 | </body> |
163 | 146 | ||
164 | -</html> | ||
165 | \ No newline at end of file | 147 | \ No newline at end of file |
148 | +</html> |