Skip to content

Commit 81a6b22

Browse files
committed
Adjust header for favorite page
Depending on user, should either say Your or {name}
1 parent dd60584 commit 81a6b22

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

templates/account/likes.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% extends "base.html" %}
22

33
{% block title %}
4-
{{user.name}}'s likes
4+
{{escape(user.name)}}'s Favorites
55
{% end %}
66

77

@@ -10,7 +10,11 @@
1010
<div class="content content-with-sidebar content-account">
1111
<div class="account-header">
1212
<div class="avatar">
13+
{% if user == current_user_obj %}
1314
<h2>Your Favorites</h2>
15+
{% else %}
16+
<h2>{{escape(user.name)}}&#x27;s Favorites</h2>
17+
{% end %}
1418
</div>
1519
</div>
1620
<div class="sidebar">
@@ -22,7 +26,7 @@ <h2>Your Favorites</h2>
2226
<input type="hidden" name="context" value="in:likes">
2327
<div class="field">
2428
<div class="field-input">
25-
<input type="search" class="input-text" name="q" placeholder="Search your favorites!" autocorrect="off">
29+
<input type="search" class="input-text" name="q" placeholder="Search!" autocorrect="off">
2630
</div>
2731
</div>
2832
</form>

0 commit comments

Comments
 (0)