From 57c82d830d04cfc930bcc62bd886b9a96fb57164 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Wed, 1 Aug 2018 18:35:13 -0700 Subject: if no syndication targets are found, hide the section add syndication reload button to the settings screen --- views/new-post.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'views/new-post.php') diff --git a/views/new-post.php b/views/new-post.php index b31d2be..ec74b28 100644 --- a/views/new-post.php +++ b/views/new-post.php @@ -78,11 +78,12 @@ + + syndication_targets): ?>
syndication_targets) { echo '
    '; foreach($this->syndication_targets as $syn) { echo '
  • ' @@ -93,13 +94,10 @@ . '
  • '; } echo '
'; - } else { - ?>
No syndication targets were found on your site. - You can provide a list of supported syndication targets that will appear as checkboxes here.
+
-- cgit v1.2.3