-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apps/userdashboard: add following page view, url, template and link f…
…rom overview
- Loading branch information
Showing
4 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
apps/userdashboard/templates/a4_candy_userdashboard/userdashboard_following.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% extends "a4_candy_userdashboard/base_userdashboard.html" %} | ||
{% load i18n %} | ||
|
||
{% block dashboard_content %} | ||
<a class="btn btn--none pl-0 pt-0" href="{% url 'userdashboard-overview' %}"> | ||
<i class="fa fa-chevron-left" aria-hidden="true"></i> | ||
<span>{% trans 'Back' %}</span> | ||
</a> | ||
<h3 class="mt-2">{% trans 'Following' %}</h3> | ||
<div class="row"> | ||
{% for project in view.projects %} | ||
<div class="col-sm-6 col-lg-4"> | ||
{% include 'a4_candy_projects/includes/project_tile_userprofile.html' with project=project orientation='vertical' %} | ||
</div> | ||
{% endfor %} | ||
</div> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters