simplify user.html
When looking at user.html in order to have plugins insert content, I found that it is horrible. The logic of whether a user is activated and what to display in that case is fully embedded in the template. Having this amount of logic in your template makes it slow and hard to develop alternative themes.
I patched it to use user_nonactive.html in case we have a non-yet active user (or one that was disabled).
Please review and pull the "master" branch at my repo:
git@…:mediagoblin/spaetz-mediagoblin.git (it is still the same address as earlier on).
This is the commit in question:
http://gitorious.org/mediagoblin/spaetz-mediagoblin/commit/51b4318079d2dce51e58be3f5ea95bc825301e54
Change History
(4)
Priority: |
major → minor
|
Status: |
new → review
|
Type: |
defect → enhancement
|
Resolution: |
→ fixed
|
Status: |
review → closed
|
Nice simplification! Merged into master! :)