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

35 lines
942 B
Text
Raw Normal View History

2012-11-03 01:13:06 +00:00
<div .span9 ##{ident}>
<table .table>
<tbody>
$if null buddies
<tr>
2013-03-07 02:02:47 +00:00
<td>
$if isNothing myjid
Not connected to the jabber server. Check your network connection ...
$else
Nobody is currently available.
2012-11-03 01:13:06 +00:00
$else
2012-11-10 20:35:09 +00:00
$forall (name, away, canpair, paired, buddyid) <- buddies
2012-11-03 01:13:06 +00:00
<tr>
<td>
<i .icon-user></i> #
$if away
<span .muted>
#{name}
$else
#{name}
<td>
$if away
<span .muted>
away
2012-11-03 01:13:06 +00:00
$else
2012-11-10 20:35:09 +00:00
$if paired
<span .label .label-success>
paired
$else
2012-11-10 20:35:09 +00:00
$if canpair
2012-11-11 21:41:56 +00:00
<a .btn .btn-primary .btn-small href="@{RunningXMPPPairR buddyid}">
2012-11-10 20:35:09 +00:00
Start pairing
$else
not using git-annex