Side by Side Diff: chrome/common/extensions/docs/templates/private/intro_table.html
Issue 18323018:
Linking AvailabilityFinder with APIDataSource and intro-table templates. (Closed)
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: HostFileSystemCreator, Intro Table data structure changes
Created 7 years, 5 months ago
Use n/p to move between diff chunks;
N/P to move between comments.
Draft comments are only viewable by you.
not at google - send to devlin
2013/07/09 23:11:55
so regarding your thing about not needing {{{ }}}
so regarding your thing about not needing {{{ }}} - yes, it would be great not
to need it and to encode any styling into the model.
I think I made some comments earlier which allude to you hopefully not needing
the "perm" special case at all.
can this look like:
{{#content}}
{{?link}}<a href="{{link}}">{{/}}
{{?class}}<span class="{{class}}">{{/}}
{{text}}
{{?class}}</span>{{/}}
{{?link}}</a>{{/}}
{{/content}}
it would be much simpler... though maybe it would look better expanded, dunno.
{{#content}}
{{?link}}
<a href="{{link}}">
{{/link}}
{{?class}}
<span class="{{class}}">
{{/class}}
{{text}}
{{?class}}
</span>
{{/class}}
{{?link}}
</a>
{{/link}}
{{/content}}
maybe not.
epeterson
2013/07/16 00:28:23
The "perm" special case is gone.
I think the {{{
On 2013/07/09 23:11:55, kalman wrote:
> so regarding your thing about not needing {{{ }}} - yes, it would be great not
> to need it and to encode any styling into the model.
>
> I think I made some comments earlier which allude to you hopefully not needing
> the "perm" special case at all.
>
> can this look like:
>
> {{#content}}
> {{?link}}<a href="{{link}}">{{/}}
> {{?class}}<span class="{{class}}">{{/}}
> {{text}}
> {{?class}}</span>{{/}}
> {{?link}}</a>{{/}}
> {{/content}}
>
> it would be much simpler... though maybe it would look better expanded, dunno.
>
> {{#content}}
> {{?link}}
> <a href="{{link}}">
> {{/link}}
> {{?class}}
> <span class="{{class}}">
> {{/class}}
> {{text}}
> {{?class}}
> </span>
> {{/class}}
> {{?link}}
> </a>
> {{/link}}
> {{/content}}
>
> maybe not.
The "perm" special case is gone.
I think the {{{ }}}'s are going to be hard to avoid, at least with this model.
Currently, each node represents a piece of text wrapped in a span or link.
We'd need to be able to put text both before and after a link or span, and we'd
need to be able to do it multiple times for one block of text, as with an API
description, where there could be multiple spans or links present.
Issue 18323018: Linking AvailabilityFinder with APIDataSource and intro-table templates.
(Closed)
Created 7 years, 5 months ago by epeterson
Modified 7 years, 5 months ago
Reviewers: not at google - send to devlin, evan.peterson.ep_gmail.com
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 122