git-annex/templates/configurators/xmpp/buddylist.hamlet
2012-11-11 17:41:56 -04:00

31 lines
813 B
Text

<div .span9 ##{ident}>
<table .table>
<tbody>
$if null buddies
<tr>
<td>
Nobody is currently available.
$else
$forall (name, away, canpair, paired, buddyid) <- buddies
<tr>
<td>
<i .icon-user></i> #
$if away
<span .muted>
#{name}
$else
#{name}
<td>
$if away
<span .muted>
away
$else
$if paired
<span .label .label-success>
paired
$else
$if canpair
<a .btn .btn-primary .btn-small href="@{RunningXMPPPairR buddyid}">
Start pairing
$else
not using git-annex