Move new member tips to tab bar.
The new member tips link looks very misplaced and forlorn at the current position. Move it to the tab-bar (in a somewhat crude fashion, but its for 14 days/user only.)
This commit is contained in:
parent
54cfbe039b
commit
666375fed1
2 changed files with 8 additions and 1 deletions
|
@ -191,7 +191,7 @@ function profile_content(App $a, $update = 0)
|
||||||
$o .= Widget::commonFriendsVisitor($a->profile['profile_uid']);
|
$o .= Widget::commonFriendsVisitor($a->profile['profile_uid']);
|
||||||
|
|
||||||
if (x($_SESSION, 'new_member') && $is_owner) {
|
if (x($_SESSION, 'new_member') && $is_owner) {
|
||||||
$o .= '<a href="newmember" id="newmember-tips" style="font-size: 1.2em;"><b>' . L10n::t('Tips for New Members') . '</b></a>' . EOL;
|
$o .= '<div id="newmember-tips"><a href="newmember"><b>' . L10n::t('Tips for New Members') . '</b></a></div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$commpage = $a->profile['page-flags'] == PAGE_COMMUNITY;
|
$commpage = $a->profile['page-flags'] == PAGE_COMMUNITY;
|
||||||
|
|
|
@ -206,6 +206,13 @@ blockquote.shared_content {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#newmember-tips {
|
||||||
|
font-size: 1.2em;
|
||||||
|
float: right;
|
||||||
|
margin-top: -32px;
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
/* headers */
|
/* headers */
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
margin: 5px 0px 5px 0px;
|
margin: 5px 0px 5px 0px;
|
||||||
|
|
Loading…
Reference in a new issue