Closed Bug 905684 Opened 13 years ago Closed 12 years ago

[Clock] Convert all inline HTML to templates stored in index.html

Categories

(Firefox OS Graveyard :: Gaia::Clock, defect)

x86
macOS
defect
Not set
normal

Tracking

(blocking-b2g:-)

RESOLVED FIXED
blocking-b2g -

People

(Reporter: rwaldron, Assigned: rwaldron)

Details

There is currently markup strings inline within alarm_list.js that needs to be migrated to using a template system where the source HTML lives in index.html I propose we use the same (reasonably well tested) system that we used in Messages. This should mean that we move Utils.Template to /shared/js/ and ideally rename it Template. Requesting koi+ since this will be become a dependency of all templated markup that gets added as we implement new features for 1.2
More markup in banner.js this.bannerCountdown.innerHTML = '<p>' + innerHTML + '</p>';
Assignee: nobody → waldron.rick
FYI- This was -'ed because you don't need permission to land this as it would block your "feature" work. If this lands on master before branching (which It sounds like it will given you assigned yourself) life is good and no action is needed.
(In reply to James Lal [:lightsofapollo] from comment #2) > FYI- This was -'ed because you don't need permission to land this as it > would block your "feature" work. If this lands on master before branching > (which It sounds like it will given you assigned yourself) life is good and > no action is needed. I don't see that it was "-'ed"
(In reply to Rick Waldron from comment #3) > I don't see that it was "-'ed" Oops, it was verbally blocking- in triage but we forgot to push the buttons. Doing so now.
blocking-b2g: koi? → -
Appears to be fixed in master through refactoring; no raw HTML strings are in the files mentioned any more.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.