Sequenzia/app/views/tag_subscription/_user_listing.php
2014-01-12 10:09:26 -05:00

10 lines
314 B
PHP
Executable File

<?php if ($this->user->tag_subscriptions->none()) : ?>
<?= $this->t('sub_none') ?>
<?php else: ?>
<?= $this->tag_subscription_listing($this->user) ?>
<?php endif ?>
<?php if (current_user()->id == $this->user->id) : ?>
(<?= $this->linkTo($this->t('sub_edit'), 'tag_subscription#index') ?>)
<?php endif ?>