git-annex/templates/configurators/xmpp/buddylist.hamlet
Joey Hess 7cfa1d5363 typo
2013-03-16 14:50:30 -04:00

40 lines
1.2 KiB
Text

<div .span9 ##{ident}>
<table .table>
<tbody>
$if null buddies
<tr>
<td>
$if isNothing myjid
Not connected to the jabber server. Check your network connection ...
$else
Searching...
$else
$forall (name, away, canpair, paired, buddyid) <- buddies
<tr>
<td>
$if isself buddyid
<i .icon-star></i> #
<span :away:.muted>
your other devices
$else
<i .icon-user></i> #
<span :away:.muted>
#{name}
<td>
$if away
<span .muted>
away
$else
$if paired
<span .label .label-success>
paired
$else
$if canpair
$if isself buddyid
<a .btn .btn-primary .btn-small href="@{RunningXMPPPairSelfR}">
Start pairing
$else
<a .btn .btn-primary .btn-small href="@{RunningXMPPPairFriendR buddyid}">
Start pairing
$else
not using git-annex