-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load MComunnity details on admin user page
This isn't the fastest query, so we load it via Ajax. AFAICT, there isn't much more interesting information we can pull down without asking ITS for more permissions. Closes #218.
- Loading branch information
Showing
7 changed files
with
103 additions
and
17 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
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,7 @@ | ||
{% macro fill(path, load_text=None) %} | ||
<div class="ajax-fill" data-path="{{path}}"> | ||
{% if load_text %} | ||
<p>{{ load_text }}</p> | ||
{% endif %} | ||
</div> | ||
{% endmacro %} |
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,18 @@ | ||
<dl class="dl-horizontal"> | ||
{% if umichTitle %} | ||
<dt>Title</dt><dd>{{ umichTitle|join(", ") }}</dd> | ||
{% endif %} | ||
{% if ou %} | ||
<dt>Affiliations</dt><dd>{{ ou|join(", ") }}</dd> | ||
{% endif %} | ||
{# This is text that the user enters in the MCommunity Directory. They might | ||
indicate the best way to contact them, who their administrative assistant is, | ||
or any other sort of notice that they want. #} | ||
{% if notice %} | ||
<dt>Notice</dt><dd>{{ notice }}</dd> | ||
{% endif %} | ||
{% if umichDescription %} | ||
<dt>About Me</dt><dd>{{ umichDescription }}</dd> | ||
{% endif %} | ||
</dl> | ||
|
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