From 0d93cd08b3b620c5cd0ff34907ec6bc0e8faff64 Mon Sep 17 00:00:00 2001 From: uhensler <none@none> Date: Mon, 3 Jul 2017 09:31:38 +0200 Subject: [PATCH] OO-2723: Show the notification link immediatly after the cration of a new blog --- .../modules/webFeed/ui/blog/_content/info.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/olat/modules/webFeed/ui/blog/_content/info.html b/src/main/java/org/olat/modules/webFeed/ui/blog/_content/info.html index 4d79c1f80f1..5b16a68fb68 100644 --- a/src/main/java/org/olat/modules/webFeed/ui/blog/_content/info.html +++ b/src/main/java/org/olat/modules/webFeed/ui/blog/_content/info.html @@ -15,21 +15,22 @@ #end <div class="o_date">$r.translate("feed.last.change") $!helper.getLastModified($feed)</div> #if ($feed.getDescription() != "") - <div class="o_desc o_info">$!helper.getFeedDescriptionForBrowser($feed)</div> + <div class="o_desc o_info">$!helper.getFeedDescriptionForBrowser($feed)</div> #end - #if (!$feed.isUndefined()) + #if (!$feed.isUndefined() && $!feed.getDescription()) <div class="o_subscription"> <a href="$!helper.getFeedUrl()" class="o_nowrap" target="_blank"> <i class="o_icon o_icon-fw o_icon_rss"></i> $r.translate("blog.subscribe.to.this.feed") </a> - #if ($r.available("subscription")) - <div class="pull-right"> + </div> + #end + + #if ($r.available("subscription")) + <div class="pull-right"> $r.render("subscription") - </div> - #end - </div> - #end + </div> + #end </div> </div> \ No newline at end of file -- GitLab