Permalink
Browse files

un modele pour afficher les pouets d'un hashtag

  • Loading branch information...
Cerdic committed Sep 21, 2017
1 parent bd4ae89 commit e5bdb77012e440e1b471798fa86dc43490f7f1a3
Showing with 20 additions and 1 deletion.
  1. +19 −0 modeles/mastodon_hashtag_timeline.html
  2. +1 −1 paquet.xml
@@ -0,0 +1,19 @@
<B_pouets>
<ul class='liste-items'>
<BOUCLE_pouets(DATA)
{source mastodon,#VAL{timelines/tag/#ENV{hashtag}}|parametre_url{mastodon_account,#ENV{account,''}}}
{pagination 10}
>
<li class='item pouet'>
<img src='#VALEUR{account/avatar_static}' style='float:left;margin:0 10px 10px 0' width="32" height="32"/>
from <a href='#VALEUR{account/url}'>[(#VALEUR{account}|mastodon_user_full_screen_name)][ \((#VALEUR{account/display_name})\)]</a>
[<a href="#VALEUR{url}">(#VALEUR{created_at}|affdate)</a>]
<blockquote>
#VALEUR{content}
<BOUCLE_images(POUR){tableau #VALEUR{media_attachments}}>[(#VALEUR{type}|=={image}|oui)<img src="#VALEUR{url}" />]</BOUCLE_images>
</blockquote>
</li>
</BOUCLE_pouets>
</ul>
[<p class='pagination'>(#PAGINATION{precedent_suivant})</p>]
</B_pouets>
View
@@ -1,7 +1,7 @@
<paquet
prefix="mastodon"
categorie="communication"
version="1.1.1"
version="1.1.2"
etat="test"
compatibilite="[3.0.0;3.2.*]"
schema="1.0.0"

0 comments on commit e5bdb77

Please sign in to comment.