Skip to content

Commit

Permalink
Remove links duplicating content
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkcuys committed Sep 26, 2024
1 parent f0ab1ef commit 067b7a0
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion lernanta/templates/activity/_activity_resource.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</div>
<div>
<span class="reference-link-area">
<a href="#" onclick="return false">{{ activity|time_since }}</a>
{{ activity|time_since }}
{{ _('via') }}
{% if activity.target_object.link %}
<a href="{{ activity.target_object.link.url }}">{{ activity.target_object.link.name }}</a>
Expand Down
4 changes: 0 additions & 4 deletions lernanta/templates/projects/_wall.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
</div> <!-- /.#create-post -->
{% endif %}

{% if not discussion_area %}
{% activity_filters request project.get_absolute_url %}
{% endif %}

{% if pagination_current_page.object_list %}
<ul id="posts">
{% for activity in pagination_current_page.object_list %}
Expand Down
4 changes: 0 additions & 4 deletions lernanta/templates/projects/project.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@
{% tasks_list_wall request project user toggled_tasks %}
{% else %}
{% task_list project user show_all_tasks %}
<div id="wall_section">
<h2 class="school_header"><span>{{ _('Activity Wall') }}</span></h2>
</div>
{% project_wall request project %}
{% endif %}

</div> <!-- /#main -->
Expand Down
2 changes: 0 additions & 2 deletions lernanta/templates/projects/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@
{% endif %}
{% if not toggled_tasks %}
<a href="{{ project.get_absolute_url }}" class="discuss-link">{{ _('View Tasks')}}</a>
{% else %}
<a href="{% locale_url projects_discussion_area slug=project.slug %}" class="discuss-link">{{ _('View Discussions')}}</a>
{% endif %}
{% else %}
{% if project.school.mentee_form_url %}
Expand Down

0 comments on commit 067b7a0

Please sign in to comment.