diff --git a/debexpo/public/style.css b/debexpo/public/style.css index 0da02dca8618f8a599d613576b23eb96d8c11fbe..6e09a928d3923bce5ba96bb481d10a3270f77d02 100644 --- a/debexpo/public/style.css +++ b/debexpo/public/style.css @@ -1036,3 +1036,20 @@ ul.qa { margin-bottom: 1em; list-style-type: none; } + +/* User information */ +.userinfo p { + margin: 0.5em 0 0.5em 0; +} + +/* Sponsor guidelines */ +table.sponsor-guidelines { + table-layout: fixed; +} + +.sponsor-tags-abbrev { + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; +} + diff --git a/debexpo/templates/sponsor/guidelines.mako b/debexpo/templates/sponsor/guidelines.mako index 5cb0a52e4ed2d6d336e71c908a713f242664d1f8..39baed49602d1cacedd776c9c94cd994ff512aa3 100644 --- a/debexpo/templates/sponsor/guidelines.mako +++ b/debexpo/templates/sponsor/guidelines.mako @@ -10,20 +10,20 @@ To help you find a sponsor interested in your package, they can formulate sponso <%def name="tag_helper(requirement)"> % if not c.sponsor_filter: -
| Sponsor name and contact data | Acceptable package traits | @@ -101,10 +101,35 @@ To help you find a sponsor interested in your package, they can formulate sponso <% continue %> % endif <% sponsors_found = True %> -|
|---|---|---|
|
${ h.tags.link_to(sponsor.user.name, h.url(controller='sponsor', action='developer', id=sponsor.user.email)) }
- + |
+ + <% + all_tags = sponsor.get_technical_tags_full() + positive_tags = [t for t in all_tags if t.weight > 0] + tool_tags = ['' + t.tag + '' for t in positive_tags] + taglist = ', '.join(tool_tags) + %> + % if taglist != '': + +${ taglist|n } + % endif + | ++ <% + all_tags = sponsor.get_social_tags_full() + positive_tags = [t for t in all_tags if t.weight > 0] + tool_tags = ['' + t.tag + '' for t in positive_tags] + taglist = ', '.join(tool_tags) + %> + % if taglist != '': + +${ taglist|n } + % endif + | +
${ h.tags.link_to( _('Remove all filters'), h.url.current(action='clear')) } % endif + + diff --git a/development.ini b/development.ini index dade2bda9810c8fbec839c89a095e62451721b6e..c097626d01f97878f344d04092c6cfaf064e6fc5 100644 --- a/development.ini +++ b/development.ini @@ -43,7 +43,7 @@ debexpo.upload.incoming = /tmp/debexpo/ debexpo.repository = /tmp/debexpo/files/ # Path to importer script -debexpo.importer = %(here)s/bin/debexpo-importer +debexpo.importer = %(here)s/bin/debexpo_importer.py # Whether to let debexpo handle the /debian/ directory debexpo.handle_debian = true |