Skip to content

Commit

Permalink
remove language and subjects links from project_detail and document_d…
Browse files Browse the repository at this point in the history
…etail page respectively
  • Loading branch information
“OMosimege” committed Jul 23, 2024
1 parent d35ab0b commit 126da74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/templates/app/document_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h2>{% trans "Subjects" %}</h2>
{% for subject in document.subjects.all %}
<li>
<span class="icon-text"><i class="detail-icon bi-book"></i></span>
<span class="icon-text"><a href="{% url 'subject_detail' subject.id %}">{{ subject.name }}</a></span>
<span class="icon-text">{{ subject.name }}</span>
</li>
{% endfor %}
</ul>
Expand All @@ -59,7 +59,7 @@ <h2>{% trans "Languages" %}</h2>
{% for language in document.languages.all %}
<li>
<span class="icon-text"><i class="detail-icon bi-vector-pen"></i></span>
<span class="icon-text"><a href="{% url 'language_detail' language.id %}">{{ language.name }}</a></span>
<span class="icon-text">{{ language.name }}</span>
</li>
{% endfor %}
</ul>
Expand Down
4 changes: 2 additions & 2 deletions app/templates/app/project_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h2>{% trans "Subjects" %}</h2>
{% for subject in subjects %}
<li>
<span class="icon-text"><i class="detail-icon bi-book"></i></span>
<span class="icon-text"><a href="{% url 'subject_detail' subject.id %}">{{ subject.name }}</a></span>
<span class="icon-text">{{ subject.name }}</span>
</li>
{% endfor %}
</ul>
Expand All @@ -71,7 +71,7 @@ <h2>{% trans "Languages" %}</h2>
{% for language in languages %}
<li>
<span class="icon-text"><i class="detail-icon bi-vector-pen"></i></span>
<span class="icon-text"><a href="{% url 'language_detail' language.id %}">{{ language.name }}</a></span>
<span class="icon-text">{{ language.name }}</span>
</li>
{% endfor %}
</ul>
Expand Down

0 comments on commit 126da74

Please sign in to comment.