Skip to content

Commit

Permalink
Fixed broken link if user profile does not have a homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
eSilverStrike committed Apr 25, 2017
1 parent 344c443 commit e0e53be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public_html/layout/denim/users/profile.thtml
Expand Up @@ -12,7 +12,7 @@
{email_option}

<dt>{lang_homepage}</dt>
<dd><span class="url"><a href="{user_homepage}">{user_homepage}</a></span></dd>
<dd>{!if user_homepage}<span class="url"><a href="{user_homepage}">{user_homepage}</a></span>{!endif}</dd>

<dt>{lang_location}</dt>
<dd>{user_location}</dd>
Expand Down
2 changes: 1 addition & 1 deletion public_html/layout/modern_curve/users/profile.thtml
Expand Up @@ -12,7 +12,7 @@
{email_option}

<dt>{lang_homepage}</dt>
<dd><a href="{user_homepage}">{user_homepage}</a></dd>
<dd>{!if user_homepage}<a href="{user_homepage}">{user_homepage}</a>{!endif}</dd>

<dt>{lang_location}</dt>
<dd>{user_location}</dd>
Expand Down

0 comments on commit e0e53be

Please sign in to comment.