Skip to content

Commit

Permalink
edit_achievements
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrKosmylev committed Jun 15, 2024
1 parent b316af9 commit 4c58a85
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions contributors/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@
views.achievements.AchievementListView.as_view(),
name='achievements',
),
path(
'contributor_achievements/<slug:slug>',
views.contributor_achievements.ContributorAchievementListView.as_view(), # noqa: E501
name='contributor_achievements',
),
path(
'landing/',
views.landing.LandingView.as_view(),
Expand Down
1 change: 1 addition & 0 deletions contributors/views/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
about,
achievements,
config,
contributor_achievements,
contributor_compare,
filters,
home,
Expand Down
2 changes: 1 addition & 1 deletion templates/contributor/contributor_details.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h2 class="h5 card-subtitle font-weight-light">{{ contributor.login }}</h2>
<span class="badge bg-dark">GitHub</span>
</a>
<h2 class="h5 card-subtitle font-weight-light mt-3">
<a href="{% url 'contributors:achievements' %}">
<a href="{% url 'contributors:contributor_achievements' contributor.login %}">
{% trans 'Achievements' %}
</a>
</h2>
Expand Down

0 comments on commit 4c58a85

Please sign in to comment.