Skip to content

Commit

Permalink
Fixed submission message confirmation layout for logged in users.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanbohacek committed Dec 9, 2022
1 parent a19dacd commit 993456d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion template-submit-your-bot.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,9 @@ function get_network_name( $network_term_slug ){
<article id="post-<?php echo $post_id; ?>" <?php post_class(); ?>>
<div class="post-content">
<?php if ( ( is_user_logged_in() && $_POST['disassociate-author-input'] === 'false' ) ){ ?>
<p><strong>Thank you!</strong> Make sure to <a href="/wp-admin/edit.php?post_status=draft&post_type=bot&author=<?php echo get_current_user_id(); ?>">submit your bots for review</a>.</p>
<div class="p-3 pt-5">
<p><strong>Thank you!</strong> Make sure to <a href="/wp-admin/edit.php?post_status=draft&post_type=bot&author=<?php echo get_current_user_id(); ?>">submit your bots for review</a>.</p>
</div>
<?php } else { ?>
<p class="mt-5"><strong>Thank you for your submission!</strong> Please be patient while we review it 😊</p>
<p>You can follow <a href="https://twitter.com/newonbotwiki" target="_blank"> @newonbotwiki</a> on Twitter and <a href="https://botsin.space/@newonbotwiki" target="_blank">@[email protected]</a> on Mastodon to see when the site gets updated.</p>
Expand Down

0 comments on commit 993456d

Please sign in to comment.