-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1155 from TOMToolkit/1154-update-navbar-integrati…
…on-point-to-include-partials-on-the-right-side-of-the-bar have nav_items use dictionary instead of list
- Loading branch information
Showing
9 changed files
with
72 additions
and
16 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% load user_extras %} | ||
{% for user_list in user_lists_to_display %} | ||
{% show_individual_app_partial user_list %} | ||
<hr/> | ||
{% endfor %} |
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
8 changes: 4 additions & 4 deletions
8
...common/partials/include_profile_card.html → ..._common/partials/include_app_partial.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,7 +1,7 @@ | ||
{% comment %} | ||
This partial template includes another partial from the context specific to a specific App's profile. | ||
This allows the partial to be rendered with only the context specified by the app, without interference from | ||
other app profile contexts. | ||
This partial template includes another partial from the context specific to a specific App's partial. | ||
This allows the partial to be rendered with only the context specified by the app, without interference from contexts | ||
from other apps. | ||
{% endcomment %} | ||
|
||
{% include profile_partial %} | ||
{% include app_partial %} |
2 changes: 1 addition & 1 deletion
2
tom_common/templates/tom_common/partials/navbar_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,3 +1,3 @@ | ||
{% for nav_item in nav_item_list %} | ||
{% include nav_item %} | ||
{% include nav_item.partial %} | ||
{% endfor %} |
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