git-annex/templates/configurators/xmpp/buddylist.hamlet

27 lines
678 B
Text

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