Messing with common i18n modules.
[blog.pm.git] / templates / src / default / post / action
blobe261fa87659b29403a984e80db3f2dfd8e9e1e41
1 [% IF user_is_admin %]
2 <div class="action">
3 <a href="[% uri_post_edit(post) %]">[% IF post.orig_lang != post.lang &&
4 post.istran == 0 %][%
5 c.loc('Add translation') %][% ELSE %][% c.loc('Edit') %][% IF post.istran %] ([%
6 c.loc('translation') %])[% END %][% END %]</a> |
7 <a href="[% uri_post_delete(post) %]">[% c.loc('Delete') %]</a>
8 </div>
9 [% END %]