Skip to content
Browse files

regenerate action to generator

  • Loading branch information...
1 parent 07df9d0 commit 14f916ae8ebcee97789a6327b0b5e8f26a32953b @juzna committed Mar 8, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 app/templates/Generator/default.latte
View
8 app/templates/Generator/default.latte
@@ -17,16 +17,20 @@
<th>Last pull</th>
<th>Last generated</th>
<th>Result</th>
+ <th>Actions</th>
</tr></thead>
<tbody>
<tr n:foreach="$repos as $repo">
<td n:class="notImportant">{$repo->id}</td>
<td>{$repo->name}</td>
<td><a href="https://github.com/{$repo->dir}{= $repo->branch ? "/tree/$repo->branch" : ''}">{$repo->dir}</a></td>
<td n:class="branch, $repo->branch ?: default">{= $repo->branch ?: 'master'}</td>
- <td>{$repo->lastPull|timeAgoInWords}</td>
- <td>{$repo->lastGenerated|timeAgoInWords}</td>
+ <td>{!$repo->lastPull|timeAgoInWordsEx}</td>
+ <td>{!$repo->lastGenerated|timeAgoInWordsEx}</td>
<td n:class="status, $repo->error ? error"><a n:tag-if="$repo->apigenResultId" n:href="Homepage:result $repo->id">{= !$repo->error ? 'OK' : 'failed'}</a></td>
+ <td>
+ <a n:href="generate $repo->dir, force => 1">re-generate</a>
+ </td>
</tr>
</tbody>
</table>

0 comments on commit 14f916a

Please sign in to comment.
Something went wrong with that request. Please try again.