Commit 55a098ea authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Fixed icon for Moodle instance reference - Bug #1532646" into 15.10_STABLE

parents ea025354 fc66cc7a
......@@ -3066,7 +3066,7 @@ function profile_sideblock() {
if ($authobj->authname == 'xmlrpc') {
$peer = get_peer($authobj->wwwroot);
if ($SESSION->get('mnetuser')) {
$data['mnetloggedinfrom'] = get_string('youhaveloggedinfrom1', 'auth.xmlrpc', $authobj->wwwroot, $peer->name);
$data['mnetloggedinfrom'] = '<span class="icon icon-external-link moodle-login"></span>' . get_string('youhaveloggedinfrom1', 'auth.xmlrpc', $authobj->wwwroot, $peer->name);
}
else {
$data['peer'] = array('name' => $peer->name, 'wwwroot' => $peer->wwwroot);
......
......@@ -354,3 +354,7 @@
}
}
}
.moodle-login.icon {
margin: 10px;
}
......@@ -12,7 +12,8 @@
<img src="{$user->profileiconurl}" alt="{str tag=profileimagetext arg1=$user|display_default_name}" class="profile-icon-container">
</span>
{$user|display_name}
</a>{if $user->loggedinfrom} ({$user->loggedinfrom}){/if}
{if $user->loggedinfrom} ({$user->loggedinfrom}){/if}
</a>
</li>
{/foreach}
</ul>
......
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