Closed Bug 226119 Opened 22 years ago Closed 22 years ago

Rename misnamed template admin/add-group

Categories

(Bugzilla :: Administration, task)

2.17.5
task
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: jouni, Assigned: jouni)

Details

Attachments

(1 file)

Per discussion raised on reviewers@, the naming of template admin/add-group.html.tmpl is suboptimal for the future. When editgroups get further templatized, we will have more group-related stuff. For this purpose, admin/groups directory will be necessary. Also, Myk pointed out that "create" is a better term for adding new stuff, and that repeating the noun ("group") is not necessary. Therefore, the template should be renamed to admin/groups/create.html.tmpl.
Attached patch v1Splinter Review
This is technically trivial; in addition to the change presented, the template will be moved and renamed.
Comment on attachment 135828 [details] [diff] [review] v1 Myk, can you r=/a= this since it's originally reviewed and approved by you and you're the origin of the guidelines for this stuff?
Attachment #135828 - Flags: review?(myk)
Comment on attachment 135828 [details] [diff] [review] v1 r=myk. What's the strategy for moving the template? Are we going to copy the file in CVS and then CVS remove the old one?
Attachment #135828 - Flags: review?(myk) → review+
That's one solution. The other one would be to get someone with direct access to the CVS repository and tweak the entries for us in order to keep the history of the original commit, but that's pretty much a hack. :)
Flags: approval?
we could do that (comment 3 and comment 4 are both suggesting the same thing ;) I'm not too concerned about losing it if it's only a week old.
I was originally considering a simple cvs rm / cvs add with a good descriptive comment (stating both new and old filenames) since we only have a whopping one revision of history to lose. But whatever you're ready to go with.
Status: NEW → ASSIGNED
go for it.
Flags: approval? → approval+
Checking in editgroups.cgi; /cvsroot/mozilla/webtools/bugzilla/editgroups.cgi,v <-- editgroups.cgi new revision: 1.31; previous revision: 1.30 done Removing template/en/default/admin/add-group.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/add-group.html.tmpl,v <-- add-group.html.tmpl new revision: delete; previous revision: 1.1 done RCS file: /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/groups/create.html.tmpl,v done Checking in template/en/default/admin/groups/create.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/groups/create.html.tmpl,v <-- create.html.tmpl initial revision: 1.1 done
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.18
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: