Age | Commit message (Collapse) | Author |
|
|
|
This uses a new template tag to avoid repeating construction of the
necessary HTML element all over the place. The site should look exactly
as it did before, except now you don't have to download 20+ images to
see some pages.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is a lot like you can see in the Python API documentation, and
makes it easy to copy a link to a given place on a page.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* Make the developer name more prominent in dividing the blocks
* Reduce the in-your-faceness of the <th> elements in every section
* Other small tweaks
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Add a quick and dirty migration to derive country info from the
developer-provided timezone, and display the flag next to the location
if we have it available on the clocks and developer profiles pages.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This moves us from XHTML strict to the more useful HTML5 doctype. One
old holdover table attribute (cellspacing) is also fixed.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Add a 'latin_name' field to the user profile so we can better support
those developers with names in non-Latin scripts, and yet still show a
Latin name as necessary on the developer profile page. This field only
shows up if populated.
Also, use consistent sorting everywhere- rather than using username,
always use first_name and last_name fields.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
The old display format doesn't really make sense. Also fix the invalid
HTML generated by the PGP tag link- we need to escape using & inside
the generated URLs.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
We had this set up as a unique ForeignKey before, which adds some
indirection due to the RelatedManager object being there. By making it a
OneToOneField, we can get the profile object directly, enforce uniqueness,
and also use it in select_related() calls to make our profiles page a bit
more efficient.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
They did not like the self-closing anchor tag, causing the link style to get
applied to the entire profile section. Not too cool. Gecko didn't seem to
have a problem with it but IE and Chrome (all Webkit?) did.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|
|
* 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>
|
|
Random stupids in our HTML, this should be a little better at least.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|