packages feed

git-annex-3.20121112: templates/configurators/repositories/table.hamlet

<table .table .table-condensed>
  <tbody>
    $forall (num, name, actions) <- repolist
      <tr>
        <td>
          #{num}
        <td>
          #{name}
        <td>
          $if needsEnabled actions
            <a href="@{setupRepoLink actions}">
              <i .icon-warning-sign></i> not enabled
          $else
            <a href="@{syncToggleLink actions}">
              $if notSyncing actions
                <i .icon-pause></i> syncing paused
              $else
                <i .icon-refresh></i> syncing enabled
        <td>
          $if needsEnabled actions
            <a href="@{setupRepoLink actions}">
              enable
          $else
            <a href="@{setupRepoLink actions}">
              configure