Self hosted FLOSS fitness/workout, nutrition and weight tracker
Make 'add new log' a button, for GUI consistency
Roland Geider4f8b70febb42
diff --git a/wger/manager/templates/calendar/month.html b/wger/manager/templates/calendar/month.htmlindex 5b46a0a6f..99ec3c669 100644--- a/wger/manager/templates/calendar/month.html+++ b/wger/manager/templates/calendar/month.html@@ -100,6 +100,15 @@ $(document).ready(function() {{# Side bar #}{# #}{% block sidebar %}+{% if is_owner %}+<p>+ <a href="#" id="calendar-day-select-link" data-toggle="modal" data-target="#ecalendar-day-select-popup" class="btn btn-success btn-sm">+ {% trans "Add new log" %}+ </a>+</p>+{% endif %}++<div class="modal fade" id="ecalendar-day-select-popup"><div class="modal-dialog"><div class="modal-content">@@ -143,7 +152,6 @@ you can click on them to see the details.{% endblocktrans %}</p><span style="background-color: #449D44; display: inline;"> </span> {{ impressions.2.1 }}</p>-<h4>{% trans 'Log' %}</h4><p><a href="{% url 'manager:workout:calendar' owner_user %}"><img src="{% static 'images/icons/calendar.svg' %}"@@ -153,16 +161,6 @@ you can click on them to see the details.{% endblocktrans %}</p>{% trans "Go to current month" %}</a></p>-{% if is_owner %}-<p>- <a href="#" id="calendar-day-select-link" data-toggle="modal" data-target="#ecalendar-day-select-popup">- <img src="{% static 'images/icons/add.svg' %}"- width="32"- height="32"- alt="{% trans 'Add new log' %}">- {% trans "Add new log" %}</a>-</p>-{% endif %}{% regroup month_list by year as year_list %}<div class="panel-group" id="accordion">