Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_tee jays angelos
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ramon Angelo Enriquez
widget_tee jays angelos
Commits
56ad2e8a
Commit
56ad2e8a
authored
May 24, 2022
by
Ramon Angelo Enriquez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug that when the user did not upload a picture, the page would outright not load
parent
0632ec69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
details.html
...tee_jays_angelos/homepage/templates/homepage/details.html
+3
-1
No files found.
widget_tee_jays_angelos/homepage/templates/homepage/details.html
View file @
56ad2e8a
...
@@ -14,7 +14,9 @@
...
@@ -14,7 +14,9 @@
<p
style=
"position: absolute; left: 300px; top: 545px;"
>
Home Unit: {{ user.department.home_unit }}
</p>
<p
style=
"position: absolute; left: 300px; top: 545px;"
>
Home Unit: {{ user.department.home_unit }}
</p>
<p
style=
"position: absolute; left: 850px; top: 325px;"
>
Email: {{ user.email }}
</p>
<p
style=
"position: absolute; left: 850px; top: 325px;"
>
Email: {{ user.email }}
</p>
<div
class=
"picShadow"
></div>
<div
class=
"picShadow"
></div>
<img
src=
"{{ user.picture.url }}"
width=
"200"
height=
"200"
>
{% if user.picture %}
<img
src=
"{{ user.picture.url }}"
width=
"200"
height=
"200"
>
{% endif %}
{% else %}
{% else %}
<p>
User not found.
</p>
<p>
User not found.
</p>
{% endif %}
{% endif %}
...
...
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