Commit 8c68ae26 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Make 'edit access' controls line up for submitted and unsubmitted views

parent 39ee67c4
......@@ -1455,10 +1455,11 @@ tr#contactinformation_contactinformation_container td .resumecontactinfo th {
}
#myviewstable .submitted-viewitem {
float: left;
padding: .5em 0 0 0;
padding: .5em 1.5em .5em 1.5em;
font-style: italic;
color: #969696;
font-size: 1em;
font-size: 1em;
width: 60%;
}
#myviewstable .viewitem br {
display: none;
......
......@@ -1284,10 +1284,11 @@ tr#contactinformation_contactinformation_container td .resumecontactinfo th {
}
#myviewstable .submitted-viewitem {
float: left;
padding: .5em 0 0 0;
padding: .5em 1.5em .5em 1.5em;
font-style: italic;
color: #969696;
font-size: 1em;
font-size: 1em;
width: 60%;
}
#myviewstable .viewitem br {
display: none;
......
......@@ -32,16 +32,16 @@
{/if}
<h3><a href="{$WWWROOT}view/view.php?id={$view.id}">{$view.title|escape}</a></h3>
{if !$view.submittedto}
{if $view.submittedto}
<div class="viewitem submitted-viewitem">{$view.submittedto}</div>
{else}
<div class="viewitem">
<a href="{$WWWROOT}view/edit.php?id={$view.id}" id="editviewdetails">{str tag="editviewnameanddescription" section="view"}</a>
{if $view.description}
<div class="viewitemdesc">{if !$view.submittedto}{/if}
{$view.description}</div>
{/if}
</div>{/if}
{if !$view.submittedto}
</div>
<div class="viewitem">
<a href="{$WWWROOT}view/blocks.php?id={$view.id}" id="editthisview">{str tag ="editthisview" section="view"}</a>
{if $view.artefacts}
......@@ -49,8 +49,8 @@
{foreach from=$view.artefacts item=artefact name=artefacts}<a href="{$WWWROOT}view/artefact.php?artefact={$artefact.id}&amp;view={$view.id}" id="link-artefacts">{$artefact.title|escape}</a>{if !$smarty.foreach.artefacts.last}, {/if}{/foreach}</div>
{/if}
</div>
{/if}
{/if}
<div class="viewitem">
<a href="{$WWWROOT}view/access.php?id={$view.id}" id="editviewaccess">{str tag="editviewaccess" section="view"}</a>
<br>
......@@ -81,12 +81,6 @@
{/if}
</div>
{if $view.submittedto}
<div class="viewitem submitted-viewitem">
{$view.submittedto}
</div>
{/if}
{if $view.submitto}
<div class="viewitem submit-viewitem">
{$view.submitto}
......
Supports Markdown
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