Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Removing the raw string-ness | Christopher Allan Webber | 2011-05-13 | 1 | -1/+1 | |
| | ||||||
* | Improve user homepage | Sebastian Spaeth | 2011-05-12 | 1 | -9/+16 | |
| | | | | | | | | | | | | | 1) Only consider user's with 'status': 'active'. We don't want to display unconfirmed/blocked users, right? 2) Actually query user's media in the view and display on their home page. 3) Throw an error 404 if we don't find a valid user, rather than saying, "User not found" (from within the template). 4) Pass in medias as media_entries to remain compatible with the 'root' page. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> | |||||
* | URLs should end in trailing slashes, or slash redirection doesn't work | Christopher Allan Webber | 2011-05-11 | 1 | -3/+3 | |
| | ||||||
* | 404 appropriately here | Christopher Allan Webber | 2011-05-10 | 1 | -4/+4 | |
| | ||||||
* | Implement simple media detail page | Sebastian Spaeth | 2011-05-10 | 3 | -0/+76 | |
This patch creates a "homepage" for each media. The URL is /u/<username>/m/<objID>. On it we display the media and some details. It is ugly and lacking some stuff but it works. The only thing left to do is to throw an 404 error if the <username> and the media uploader don't correspond. - Also create a user "home page" while at it. It is merely a place holder for now though. - Link from the entries on the homepage, to the media pages, so we actually find them. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> |