Age | Commit message (Collapse) | Author |
|
Quite a few changes here. Unify the developer view pages into one actual
django view and template, and use different dispatches from urls.py to set
up the three different queries for who to display and what message and group
name to show.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* Use {% with %} to make getting things out of the profile easier
* Remove HTML exemption as it was causing unescaped entities to get through
to the page
* Link URLs instead of just printing them to the page
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Guaranteed unique, and also a whole lot less likely to break validation
given we have several users with special characters (and even spaces) in
their first names.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
And make sure each of them have a type.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is, at least for me, more useful than the link to a specific
build of a package. We provide both so no one should lose here.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Random stupids in our HTML, this should be a little better at least.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This started out as a validation fix for the W3 validator: we had some <ul/>
elements that ended up on that page with no inner <li/> elements, so it was
invalid markup. I then realized we don't need to call the methods multiple
times so use the 'with' template tag.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Put an actual NULL in the database and handle it for both display and
import. Also add a migration to clean up any bad data we currently have in
there. Fixes FS#17144.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Link directly to the right project in Flyspray instead of whatever the user
looked at last. Fixes FS#13166.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* Don't show checkboxes for non-authenticated users
* Fix up the adopt buttons to not be a table row
* Fix the form which didn't have a closing tag
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
FS#17287.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Just as commit 5faf6566 did for the main menu items, do the same for the dev
menu.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
The menu was rendered bottom to top in the html because the elements
were floated to the right. This caused text browsers visitors (no CSS
rendering) to see the menu backwards. I've modified the menu order and
made the items float to the left so the menu is correctly rendered in
text browsers.
Signed-off-by: Ismael Carnales <icarnales@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
We should always highlight 'Home' when on the Django site. The sole
exception is the download page which has its own special place.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
also added user restrictions
|
|
|
|
- added title
- added permission checks
|
|
|
|
|
|
RequestContexts are needed to check if the user is logged in
NOTE: Generic views as direct_to_template and object_list always return
a request context, so is good to use them :)
Later will add a render_template shortcut that adds the RequestContext
automatically
|
|
- moved devel.views.siteindex to public.views.index
- using template from public view with added devel menu
- added extra styles and images
|
|
|
|
|
|
|
|
archweb_dev. This is the original commit message by Dan:
"Make package SVN links always work
This should clean up the links for all varieties of things- different arches
(including any), different repos (community and community-testing), and
split packages. All of the logic is in one place now and any further changes
should be made to the method on the package object."
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
into the admin.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
|
|
|
|
|