-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
32 additions
and
21 deletions.
There are no files selected for viewing
15 changes: 8 additions & 7 deletions
15
tom_common/templates/tom_common/partials/profile_app_addons.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 |
---|---|---|
@@ -1,19 +1,20 @@ | ||
{% load user_extras %} | ||
{% load user_extras tom_common_extras %} | ||
{% load bootstrap4 %} | ||
|
||
<div class="container"> | ||
|
||
<div class="row"> | ||
<div class="col-6"> | ||
{% for profile in profile_list %} | ||
<div class="col-6"> | ||
{% include profile %} | ||
</div> | ||
{% if forloop.counter|divisibleby:2 %} | ||
|
||
{% if forloop.counter > profile_list|length|add:"1"|multiplyby:"0.5" and forloop.counter <= profile_list|length|add:"1"|multiplyby:"0.5"|add:"1" %} | ||
</div> | ||
<div class="row"> | ||
|
||
<div class="col-6"> | ||
{% endif %} | ||
{% include profile %} | ||
{% empty %} | ||
This user has no profile. | ||
{% endfor %} | ||
</div> | ||
</div> | ||
</div> |
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