Open Bug 391289 Opened 17 years ago Updated 10 years ago

factor vcard into a template and use it for describecomponents/editcomponents

Categories

(Bugzilla :: Administration, task)

task
Not set
normal

Tracking

()

People

(Reporter: timeless, Unassigned)

References

()

Details

Attachments

(1 file)

Attached patch make it soSplinter Review
upon reviewing bugs.maemo.org's customizations (which I don't particularly like), I determined that one of their hacks failed because they confused an address for an object.

The thing is, the items in question really should be using the object so that people won't make this mistake. and since we have this hcard stuff, we really should share it.
Attachment #275704 - Flags: review?(LpSolit)
OS: Mac OS X → All
Hardware: Macintosh → All
Comment on attachment 275704 [details] [diff] [review]
make it so

>Index: admin/components/list.html.tmpl

>+  [% assignee = BLOCK %]
>+    [% PROCESS global/vcard.html.tmpl user = component.default_assignee %]
>+  [% END %]

>+  [% qa_contact = BLOCK %]
>+    [% PROCESS global/vcard.html.tmpl user = component.default_qa_contact %]
>+  [% END %]

This doesn't work. The whole template is escaped and you see HTML code instead of links.
Attachment #275704 - Flags: review?(LpSolit) → review-
Assignee: timeless → administration
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: