aboutsummaryrefslogtreecommitdiff
path: root/app/views/subscription/feed.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-31 14:45:37 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-31 14:45:37 +0100
commita97bbd9bd54c5fa56d54b3c214cf4e8af96af8b2 (patch)
tree6e83890bc1b3814a12c3b7bedc0d5944f30f507b /app/views/subscription/feed.phtml
parent42fd539a1b14f883077048a35864b4294b6efe94 (diff)
parente91b72b63cd11ae3c4f59e48439e93955242c673 (diff)
Merge branch 'dev'
Conflicts: CHANGELOG README.fr.md README.md app/Controllers/feedController.php app/Controllers/indexController.php app/i18n/en.php app/i18n/fr.php app/views/helpers/view/normal_view.phtml app/views/stats/index.phtml app/views/stats/repartition.phtml constants.php p/scripts/main.js
Diffstat (limited to 'app/views/subscription/feed.phtml')
-rw-r--r--app/views/subscription/feed.phtml15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/subscription/feed.phtml b/app/views/subscription/feed.phtml
new file mode 100644
index 000000000..60664fdee
--- /dev/null
+++ b/app/views/subscription/feed.phtml
@@ -0,0 +1,15 @@
+<?php
+
+if (!Minz_Request::param('ajax')) {
+ $this->partial('aside_subscription');
+}
+
+if ($this->feed) {
+ $this->renderHelper('feed/update');
+} else {
+?>
+<div class="alert alert-warn">
+ <span class="alert-head"><?php echo _t('sub.feed.no_selected'); ?></span>
+ <?php echo _t('sub.feed.think_to_add'); ?>
+</div>
+<?php } ?>