diff options
author | Gregor Tätzner <gregor@freenet.de> | 2012-08-06 20:27:57 +0200 |
---|---|---|
committer | Gregor Tätzner <gregor@freenet.de> | 2012-08-06 20:27:57 +0200 |
commit | 369e2edeac24e96cf20df942c3921416d8304d0e (patch) | |
tree | 91ca5691df2f7488fab7dd33e6151d2a2e8e5155 /templates/part.listfeed.php | |
parent | 5eb0f78dcb8b018f74db9f3b3bd24e69ab9c3c91 (diff) |
Show some nice messages when you create or delete a feed in the right
view
Diffstat (limited to 'templates/part.listfeed.php')
-rw-r--r-- | templates/part.listfeed.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php index cd280c111..6aabe5d3c 100644 --- a/templates/part.listfeed.php +++ b/templates/part.listfeed.php @@ -9,13 +9,14 @@ if ($favicon == null) { $favicon = OCP\Util::imagePath('news', 'rss.svg'); } -echo '<li class="feeds_list" data-id="' . $child->getId() . '"><a href="' . OCP\Util::linkTo('news', 'index.php'). '?feedid=' . $child->getId() . '" style="background: url(' . $favicon . ') left center no-repeat; background-size:16px 16px;">' . $child->getTitle() .'</a>'; +echo '<li class="feeds_list" data-id="' . $child->getId() . '">'; +echo '<a href="' . OCP\Util::linkTo('news', 'index.php'). '?feedid=' . $child->getId() . '" style="background: url(' . $favicon . ') left center no-repeat; background-size:16px 16px;">' . $child->getTitle() .'</a>'; if ($unreadItems > 0) { echo '<span id="unreaditemcounter" class="nonzero">' . $unreadItems . '</span>'; } else { echo '<span id="unreaditemcounter" class="zero"></span>'; } -echo '<button class="svg action" id="feeds_delete" onClick="(News.Feed.delete(' . $child->getId(). '))" title="' . $l->t('Delete feed') . '"></button>'; echo '<button class="svg action" id="feeds_edit" title="' . $l->t('Edit feed') . '"></button>'; +echo '<button class="svg action" id="feeds_delete" onClick="(News.Feed.delete(' . $child->getId(). '))" title="' . $l->t('Delete feed') . '"></button>'; echo '</li>'; |