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

41 lines
1.2 KiB
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
Searching...
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>
$if isself buddyid
<i .icon-star></i> #
<span :away:.muted>
your other devices
2012-11-03 01:13:06 +00:00
$else
<i .icon-user></i> #
<span :away:.muted>
#{name}
2012-11-03 01:13:06 +00:00
<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
$if isself buddyid
<a .btn .btn-primary .btn-small href="@{RunningXMPPPairSelfR}">
2013-03-16 18:50:30 +00:00
Start pairing
$else
<a .btn .btn-primary .btn-small href="@{RunningXMPPPairFriendR buddyid}">
Start pairing
2012-11-10 20:35:09 +00:00
$else
not using git-annex