Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bookshare
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
30
Issues
30
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SRCT
bookshare
Commits
6d1104e6
Commit
6d1104e6
authored
Apr 08, 2016
by
Mark Stenglein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Modify template files to use the method added in previous commit. This"
This reverts commit
2ca5809f
.
parent
2ca5809f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
+15
-7
bookshare/core/templates/profile.html
bookshare/core/templates/profile.html
+12
-4
bookshare/core/templates/ratings.html
bookshare/core/templates/ratings.html
+2
-2
bookshare/mod/templates/email_ratio_mod.html
bookshare/mod/templates/email_ratio_mod.html
+1
-1
No files found.
bookshare/core/templates/profile.html
View file @
6d1104e6
{% extends 'layouts/base.html' %}
{% block title %}
SRCT Bookshare
•
{{ student.get_full_name }}
{% if student.user.get_full_name == "" %}
SRCT Bookshare
•
{{ student.user.username }}
{% else %}
SRCT Bookshare
•
{{ student.user.get_full_name }}
{% endif %}
{% endblock title %}
{% block content %}
...
...
@@ -17,10 +21,14 @@ SRCT Bookshare • {{ student.get_full_name }}
<img
class=
"img-circle img-responsive"
src=
"{% gravatar_url student.user.email 75 %}"
>
</div>
<div
class=
"col-md-6"
>
<h2><strong>
{{ student.get_full_name }}
</strong>
{% if student.user == request.user %}
<small><a
href=
"{% url 'name_change' %}"
>
(Edit)
</a></small>
{% if student.user.get_full_name == "" %}
<h2><strong>
{{ student.user.username }}
</strong>
{% else %}
<h2><strong>
{{ student.user.get_full_name }}
</strong>
{% endif %}
{% if student.user == request.user %}
<small><a
href=
"{% url 'name_change' %}"
>
(Edit)
</a></small>
{% endif %}
</h2>
</div>
<div
class=
"col-md-3 text-right"
>
...
...
bookshare/core/templates/ratings.html
View file @
6d1104e6
{% extends 'layouts/base.html' %}
{% block title %}
SRCT Bookshare
•
{{ student.
get_full
_name }}
SRCT Bookshare
•
{{ student.
user.first_name }} {{ student.user.last
_name }}
{% endblock title %}
{% block content %}
...
...
@@ -16,7 +16,7 @@ SRCT Bookshare • {{ student.get_full_name }}
<img
class=
"img-circle img-responsive"
src=
"{% gravatar_url student.user.email 75 %}"
>
</div>
<div
class=
"col-md-6"
>
<h2><strong><a
href=
"{{ student.get_absolute_url }}"
>
{{ student.get_full_name }}'s
</a>
Ratings
</strong></h2>
<h2><strong><a
href=
"{{ student.get_absolute_url }}"
>
{{ student.
user.
get_full_name }}'s
</a>
Ratings
</strong></h2>
</div>
<div
class=
"col-md-5 text-right"
>
<h3><strong>
{{ student_ratings_num }}
</strong>
reviews,
...
...
bookshare/mod/templates/email_ratio_mod.html
View file @
6d1104e6
{% extends 'layouts/base.html' %}
{% block title %}
SRCT Bookshare
•
{{ student.get_full_name }}
SRCT Bookshare
•
Mod
{% endblock title %}
{% block content %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment