Skip to content

Commit

Permalink
Remove success class from buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrbyers authored and mauromsl committed Dec 9, 2021
1 parent 382b95c commit d8e8bb8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/themes/OLH/templates/core/news/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h3 class="news-item-block">{{ journal_settings.news.news_title }}</h3>
<h4>{{ item.title }}</h4>
<h6>{{ item.byline }} {% trans "on" %} {{ item.posted|date:"Y-m-d" }}</h6>
<p>{{ item.body|striptags|truncatesmart:400 }}</p>
<a class="success button" href="{% url 'core_news_item' item.pk %}">{% trans "Read More" %}</a>
<a class="button" href="{% url 'core_news_item' item.pk %}">{% trans "Read More" %}</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/themes/OLH/templates/core/news/item.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h6>{{ news_item.byline }} on {{ news_item.posted|date:"Y-m-d" }}</h6>

<br />

<a href="{% url 'core_news_list' %}" class="button success">{% trans "Back to" %} {{ journal_settings.news.news_title }} {% trans "List" %}</a>
<a href="{% url 'core_news_list' %}" class="button">{% trans "Back to" %} {{ journal_settings.news.news_title }} {% trans "List" %}</a>
</div>
</section>
{% endblock body %}
2 changes: 1 addition & 1 deletion src/themes/OLH/templates/press/core/news/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h3 class="news-item-block">{% trans "News" %}</h3>
<h4>{{ item.title }}</h4>
<h6>Posted by {{ item.posted_by.full_name }} {% trans "on" %} {{ item.posted|date:"Y-m-d" }}</h6>
<p>{{ item.body|striptags|truncatesmart:400 }}</p>
<a class="success button" href="{% url 'core_news_item' item.pk %}">{% trans "Read More" %}</a>
<a class="button" href="{% url 'core_news_item' item.pk %}">{% trans "Read More" %}</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/themes/material/templates/core/news/item.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h6><em>{{ news_item.byline }} {% trans "on" %} {{ news_item.posted|date:"Y-m-d"
{% endif %}
</div>
<div class="card-action">
<a href="{% url 'core_news_list' %}" class="button success">{% trans "Back to" %} {{ journal_settings.news.news_title }} {% trans "List" %}</a>
<a href="{% url 'core_news_list' %}" class="button">{% trans "Back to" %} {{ journal_settings.news.news_title }} {% trans "List" %}</a>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/themes/material/templates/press/core/news/item.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h6><em>{% trans "Posted by" %} {{ news_item.posted_by.full_name }} {% trans "on
{% endif %}
</div>
<div class="card-action">
<a href="{% url 'core_news_list' %}" class="button success">{% trans "Back to News List" %}</a>
<a href="{% url 'core_news_list' %}" class="button">{% trans "Back to News List" %}</a>
</div>
</div>
</div>
Expand Down

0 comments on commit d8e8bb8

Please sign in to comment.