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 | 64 | </div> |
65 | 65 | <div class="navbar-collapse collapse navbar-responsive-collapse"> |
66 | 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 | 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 | 69 | </ul> |
87 | 70 | </div> |
... | ... | @@ -112,7 +95,7 @@ |
112 | 95 | <form id="searchform" action="{% url 'course:manage' %}" method="get" accept-charset="utf-8"> |
113 | 96 | <div class="input-group"> |
114 | 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 | 99 | <span class="input-group-btn input-group-sm"> |
117 | 100 | <button type="button" class="btn btn-fab btn-fab-mini"> |
118 | 101 | <i class="material-icons">search</i> |
... | ... | @@ -137,7 +120,7 @@ |
137 | 120 | <h4 class="panel-title"> |
138 | 121 | <a class="category-course-link" data-toggle="collapse" href="#{{category.slug}}">{{category.name}}</a> |
139 | 122 | </h4> |
140 | - | |
123 | + | |
141 | 124 | </div> |
142 | 125 | <div id="{{category.slug}}" class="panel-collapse collapse"> |
143 | 126 | {% for course in category.course_category.all %} |
... | ... | @@ -161,4 +144,4 @@ |
161 | 144 | {% endblock script_file %} |
162 | 145 | </body> |
163 | 146 | |
164 | -</html> | |
165 | 147 | \ No newline at end of file |
148 | +</html> | ... | ... |