adding ajouter un chantier in any case even if already have chantiers
This commit is contained in:
parent
5125ad8032
commit
086163521e
|
|
@ -125,6 +125,7 @@ function render_custom_chantier_box_content($post)
|
|||
echo '<li><a href="' . get_edit_post_link() . '"> <img src=' . get_stylesheet_directory_uri() . '/resources/img/icons/document-inspect.svg' . ' /> ' . $chantier_name . '</a></li>';
|
||||
}
|
||||
echo '</ul>';
|
||||
echo '<a href="' . admin_url('post-new.php?post_type=chantiers') . '" class="new-chantier">Ajouter un chantier</a>';
|
||||
} else {
|
||||
echo '<h3> Chantiers réalisés</h3>';
|
||||
echo '<p class="no-results">Aucun chantier pour cette entreprise</p>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user