Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 14372aa

Browse files
committed
ENH: Refs #0299. Fixed the inconsistant action viewSideBar in community view for non-member users.
1 parent 71cd013 commit 14372aa

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

core/public/css/layout/view.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ div.viewSideBar div.sideElement{
8282

8383
div.viewSideBar div.sideElementFirst{
8484
border-top:none !important;
85-
border-bottom: 1px solid white;
85+
border-bottom: 1px solid #DAD8D4;
8686
padding-bottom: 5px;
8787
}
8888

8989
div.viewSideBar div.sideElementActions{
90-
border-top:1px solid #DAD8D4;
90+
border-top:none !important;
9191
border-bottom: 1px solid white;
9292
padding-top: 5px;
9393
padding-bottom: 10px;

core/views/community/view.phtml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,12 @@ foreach($this->customCSSs as $Uris)
216216
</div>
217217

218218
<div class="sideElementActions viewAction">
219+
<?php
220+
if((!$this->isModerator)&&(!$this->isAdmin)&&(!$this->isMember))
221+
{
222+
echo "<h1>Actions</h1>";
223+
}
224+
?>
219225
<ul>
220226
<li>
221227

0 commit comments

Comments
 (0)