add support for non-url information

* add ssh commands for MIA information, owned debian.net domains and
  group membership
* add support for specifying type of pattern
This commit is contained in:
Jan Dittberner 2010-06-04 00:24:15 +02:00
parent b8af34c80b
commit 2aec4f8f98
5 changed files with 55 additions and 29 deletions

View file

@ -1,7 +1,8 @@
## -*- coding: utf-8 -*- \
<%inherit file="base.mako" />
<%doc>
Template for the url output page.
Copyright (c) 2009 Jan Dittberner <jan@dittberner.info>
Copyright © 2009, 2010 Jan Dittberner <jan@dittberner.info>
This file is part of DDPortfolio service.
@ -44,7 +45,13 @@ License along with this program. If not, see
% else:
<tr class="url ${urlclass}">
<td>${h.textile(row[4])}</td>
<td>${h.link_to(h.truncate(row[3], length=120), row[3])}</td>
<td>
% if row[2].type == 'url':
${h.link_to(h.truncate(row[3], length=120), row[3])}
% else:
<tt>${row[3]}</tt>
% endif
</td>
</tr>
<%
if urlclass == 'odd':