change item edit link posiion (#6)

This commit is contained in:
leogermani 2019-01-11 17:19:46 -02:00
parent e89454b291
commit 7ae7d9333c
1 changed files with 8 additions and 6 deletions

View File

@ -14,13 +14,10 @@
<ul class="list-inline mb-1"> <ul class="list-inline mb-1">
<li class="list-inline-item text-midnight-blue font-weight-bold title-page"> <li class="list-inline-item text-midnight-blue font-weight-bold title-page">
<?php the_title(); ?> <?php the_title(); ?>
<?php if(function_exists('tainacan_the_item_edit_link')) {
echo '<span class="tainacan-edit-item-collection">';
tainacan_the_item_edit_link(null, ' - ');
echo '</span>';
} ?>
</li> </li>
<li class="list-inline-item float-right title-back"><a href="javascript:history.go(-1)"><?php _e( 'Back', 'tainacan-interface' ); ?></a></li> <li class="list-inline-item float-right title-back">
<a href="javascript:history.go(-1)"><?php _e( 'Back', 'tainacan-interface' ); ?></a>
</li>
</ul> </ul>
</div> </div>
</div> </div>
@ -32,6 +29,11 @@
<header class="mb-4"> <header class="mb-4">
<div class="header-meta text-muted mb-5"> <div class="header-meta text-muted mb-5">
<span class="time"><?php tainacan_meta_date_author(); ?></span> <span class="time"><?php tainacan_meta_date_author(); ?></span>
<?php if(function_exists('tainacan_the_item_edit_link')) {
echo '<span class="tainacan-edit-item-collection">';
tainacan_the_item_edit_link(null, ' - ');
echo '</span>';
} ?>
</div> </div>
</header> </header>
<?php if ( tainacan_has_document() ) : ?> <?php if ( tainacan_has_document() ) : ?>