Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(619)

Issue 13550043: Classify templates into subdirectories depending on their usage. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by M-A
Modified:
9 years, 3 months ago
Reviewers:
Roger Tawa, Andi, GvR
CC:
codereview-discuss_googlegroups.com, codereview-list_googlegroups.com
Visibility:
Public.

Description

Classify templates into subdirectories depending on their usage. As the number of templates grew, it's becoming more daunting to figure out what is what. This CL does: - Remove the top tab Search and integrate it under Issues. - Add a new tab Admin only shown to admin users. - Move all issues related templates into templates/issues/. - Move all non-top level Issues templates, i.e. templates meant to be imported by another template, into templates/issues/components/. - Add README in the directories to explain what is what.

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Got rid of #13549043 diff #

Total comments: 7

Patch Set 3 : Fix style in views.py #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -111 lines) Patch
M codereview/engine.py View 1 chunk +1 line, -1 line 0 comments Download
M codereview/views.py View 1 2 31 chunks +48 lines, -36 lines 0 comments Download
A templates/admin/base.html View 1 chunk +14 lines, -0 lines 0 comments Download
M templates/admin/block_user.html View 1 chunk +1 line, -7 lines 0 comments Download
M templates/admin/set_client_id_and_secret.html View 1 chunk +1 line, -1 line 0 comments Download
M templates/base.html View 1 chunk +3 lines, -1 line 0 comments Download
A templates/issues/README View 1 chunk +1 line, -0 lines 0 comments Download
M templates/issues/all.html View 1 chunk +1 line, -1 line 0 comments Download
M templates/issues/base.html View 4 chunks +9 lines, -2 lines 0 comments Download
A templates/issues/components/README View 1 chunk +1 line, -0 lines 0 comments Download
M templates/issues/components/diff_navigation.html View 1 chunk +1 line, -1 line 0 comments Download
M templates/issues/components/draft_message.html View 0 chunks +-1 lines, --1 lines 0 comments Download
M templates/issues/components/file_navigation.html View 0 chunks +-1 lines, --1 lines 0 comments Download
M templates/issues/components/inline_comment.html View 0 chunks +-1 lines, --1 lines 0 comments Download
M templates/issues/components/issue_heading.html View 0 chunks +-1 lines, --1 lines 0 comments Download
M templates/issues/components/issue_row.html View 1 chunk +1 line, -1 line 0 comments Download
M templates/issues/components/issue_star.html View 0 chunks +-1 lines, --1 lines 0 comments Download
M templates/issues/components/patchset.html View 0 chunks +-1 lines, --1 lines 0 comments Download
M templates/issues/components/view_details_select.html View 0 chunks +-1 lines, --1 lines 0 comments Download
M templates/issues/diff.html View 6 chunks +6 lines, -7 lines 0 comments Download
M templates/issues/diff2.html View 4 chunks +4 lines, -5 lines 0 comments Download
M templates/issues/diff_missing.html View 2 chunks +2 lines, -3 lines 0 comments Download
M templates/issues/edit.html View 1 chunk +1 line, -1 line 0 comments Download
M templates/issues/issue.html View 2 chunks +2 lines, -3 lines 0 comments Download
M templates/issues/issue_pagination.html View 2 chunks +3 lines, -3 lines 0 comments Download
M templates/issues/migrate_entities.html View 0 chunks +-1 lines, --1 lines 0 comments Download
M templates/issues/new.html View 1 chunk +1 line, -1 line 0 comments Download
M templates/issues/patch.html View 5 chunks +5 lines, -6 lines 0 comments Download
M templates/issues/publish.html View 1 chunk +1 line, -1 line 0 comments Download
M templates/issues/search.html View 1 chunk +1 line, -7 lines 0 comments Download
M templates/issues/search_results.html View 1 chunk +1 line, -6 lines 0 comments Download
M templates/issues/starred.html View 2 chunks +3 lines, -3 lines 0 comments Download
M templates/issues/use_uploadpy.html View 1 chunk +1 line, -2 lines 0 comments Download
M templates/issues/user.html View 7 chunks +13 lines, -13 lines 0 comments Download
A templates/repos/README View 1 chunk +1 line, -0 lines 0 comments Download
M templates/repos/base.html View 1 chunk +6 lines, -3 lines 0 comments Download
M templates/repos/branch_edit.html View 1 chunk +1 line, -1 line 0 comments Download
M templates/repos/branch_new.html View 1 chunk +1 line, -1 line 0 comments Download
M templates/repos/repo_new.html View 1 chunk +1 line, -1 line 0 comments Download
M templates/repos/repos.html View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
M-A
+ codereview-discuss in case someone has a strong opinion about this. I think this CL ...
10 years, 7 months ago (2013-09-05 14:27:19 UTC) #1
M-A
Patchset #2 is ready to review.
10 years, 7 months ago (2013-09-05 15:12:13 UTC) #2
Roger Tawa
https://codereview.appspot.com/13550043/diff/15001/codereview/views.py File codereview/views.py (right): https://codereview.appspot.com/13550043/diff/15001/codereview/views.py#newcode3377 codereview/views.py:3377: request, 'issues/publish.html', Put 'issues/publish.html' on next line? https://codereview.appspot.com/13550043/diff/21001/templates/admin/base.html File ...
10 years, 7 months ago (2013-09-05 15:20:05 UTC) #3
M-A
Thanks for the review, uploaded patchset #3 for the views.py alignment. Guido, any opinion on ...
10 years, 7 months ago (2013-09-05 15:33:57 UTC) #4
M-A
I understand the overwhelming excitement here. :) A 'No' would do too if anyone thinks ...
10 years, 7 months ago (2013-09-06 14:20:55 UTC) #5
GvR
10 years, 7 months ago (2013-09-06 14:41:15 UTC) #6
On 2013/09/05 15:33:57, M-A wrote:
> Guido, any opinion on the new layout of the files?

Wow, we sure got a lot of templates. In general I am not a big fan of deep
hierarchies, but I really don't want to stand in the way of progress. :-)
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b