fini il reste juste les corrections sur la tl
This commit is contained in:
@@ -25,9 +25,9 @@
|
||||
</svg>
|
||||
|
||||
|
||||
<table class="w-full bg-jlg-dark-blue flex justify-center mt-[70px] z-0 pl-10 lg:pl-[10px]">
|
||||
<table class="w-full bg-jlg-dark-blue flex justify-center mt-[70px] z-0 pl-10 lg:pl-[10px] pr-[96px] lg:pr-0">
|
||||
<thead>
|
||||
<tr class="border-jlg-white border-b h-64 top-0 lg:w-2/3 fixed z-0 flex items-stretch justify-around text-left uppercase bg-jlg-dark-blue">
|
||||
<tr class="border-jlg-white border-b h-64 top-0 w-full lg:w-2/3 fixed z-0 flex items-stretch justify-around text-left uppercase bg-jlg-dark-blue pr-[130px] lg:pr-0">
|
||||
<th class="flex items-end justify-start"></th>
|
||||
<th class="flex items-end justify-start pb-4">Images</th>
|
||||
<th class="flex items-end justify-start pb-4">Voix Off et In</th>
|
||||
@@ -78,7 +78,8 @@
|
||||
$ecrits = isset($infosArray[4]) ? $infosArray[4] : '';
|
||||
|
||||
//lien pour le crayon
|
||||
$edit_link = 'https://localhost/wp/wp-admin/admin.php?page=rvy-revisions&post='. get_the_ID() .'&action=revise';
|
||||
$edit_link = site_url('/wp-admin/admin.php?page=rvy-revisions&post=' . get_the_ID() . '&action=revise');
|
||||
|
||||
?>
|
||||
<tr class="border-jlg-light-white border-b font-authentic-60 w-full flex flex-row py-6 isContentPart">
|
||||
<td class="block text-sm pl-0 pr-6">{{ the_title()}}</td>
|
||||
@@ -88,9 +89,11 @@
|
||||
<td class="block pl-0 pr-6"><?php echo $ecrits; ?></td>
|
||||
<td class="block text-sm pl-0 pr-6">
|
||||
<?php if(is_user_logged_in()){
|
||||
echo '<a title="Contribution" href="' . esc_url( $edit_link ) . '" class="edit-button">🖉</a>';
|
||||
} elseif (!is_user_logged_in()) {
|
||||
echo '<a href="' . esc_url( $edit_link ) . '" class="edit-button xoo-el-login-tgr ">🖉</a>';
|
||||
echo '<a title="Contribution" href="' . esc_url( $edit_link ) . '" class="edit-button">'; ?>
|
||||
<img src="<?= get_template_directory_uri(); ?>/resources/assets/icons/pen_icon.svg" alt="icon pen" /></a>
|
||||
<?php } elseif (!is_user_logged_in()) {
|
||||
echo '<img src="' . get_template_directory_uri() . '/resources/assets/icons/pen_icon.svg" alt="icon pen" />';
|
||||
echo do_shortcode('[xoo_el_action type="login" text="Connexion" redirect_to="' . $edit_link . '"]');
|
||||
}?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user