Commit b5181dde authored by Richard Mansfield's avatar Richard Mansfield

Better alignment of owner name & icon on copy a view page

Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent bd009d4b
......@@ -487,10 +487,6 @@ div.btn-edit input.submit,
* overflow: visible;
}
#userview .user-icon a {
margin: 0 0 0 1em;
}
.rbuttons {
position: absolute;
right: 0;
......@@ -556,6 +552,18 @@ div.rbuttons .small-logo {
background: none;
}
/* Profile icons */
#userview .user-icon a {
margin: 0 0 0 1em;
}
.profile-icon-container {
width: 20px;
height: 20px;
float: left;
padding-right:.5em;
text-align: center;
}
/**************************** Top of page elements ****************************/
.viewheader {
text-align: center;
......@@ -923,13 +931,6 @@ li#pendingfriends a {
#sb-onlineusers li {
line-height: 2.1em;
}
#sb-onlineusers .image-container {
width: 20px;
height: 20px;
float: left;
padding-right:.5em;
text-align: center;
}
#lastminutes {
float: right;
margin: 0;
......
......@@ -3,7 +3,7 @@
<div class="sideblock-content">
<ul class="cr">
{foreach from=$sbdata.users item=user}
<li><a href="{$WWWROOT}user/view.php?id={$user->id}"><div class="image-container"><img src="{$user->profileiconurl}" alt=""></div>{$user|display_name|escape}</a>{if $user->loggedinfrom} ({$user->loggedinfrom}){/if}</li>
<li><a href="{$WWWROOT}user/view.php?id={$user->id}"><div class="profile-icon-container"><img src="{$user->profileiconurl}" alt=""></div>{$user|display_name|escape}</a>{if $user->loggedinfrom} ({$user->loggedinfrom}){/if}</li>
{/foreach}
</ul>
</div>
......
......@@ -19,8 +19,10 @@
<td><a class="grouplink" href="{$WWWROOT}group/view.php?id={$row.group}" target="_blank">{$row.sharedby}</a></td>
{elseif $row.owner}
<td>
<img src="{profile_icon_url user=$row.user maxwidth=20 maxheight=20}" alt="">
<a class="userlink" href="{$WWWROOT}user/view.php?id={$row.owner}" target="_blank">{$row.sharedby}</a>
<a class="userlink" href="{$WWWROOT}user/view.php?id={$row.owner}" target="_blank">
<div class="profile-icon-container"><img src="{profile_icon_url user=$row.user maxwidth=20 maxheight=20}" alt=""></div>
{$row.sharedby}
</a>
</td>
{else}
<td>-</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment