FLUID-4291: UI Options: Add the new option "prefix" into UI Options template loader

Metadata

Source
FLUID-4291
Type
Task
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Cindy Li
Reporter
Cindy Li
Created
2011-06-15T15:53:22.463-0400
Updated
2011-06-17T12:31:02.549-0400
Versions
N/A
Fixed Versions
  1. 1.4
Component
  1. UI Options

Description

The current UI Options template loader structure is:

templates: {
uiOptions: "../html/UIOptions.html",
textControls: "../html/UIOptionsTemplate-text.html",
layoutControls: "../html/UIOptionsTemplate-layout.html",
linksControls: "../html/UIOptionsTemplate-links.html"
}

As most of the time, the templates are from the same directory, add a new option for template path prefix to simplify the input:

prefix: "../html",
templates: {
uiOptions: "%prefix/UIOptions.html",
textControls: "%prefix/UIOptionsTemplate-text.html",
layoutControls: "%prefix/UIOptionsTemplate-layout.html",
linksControls: "%prefix/UIOptionsTemplate-links.html"
}

Comments

  • Cindy Li commented 2011-06-15T15:53:50.515-0400

    Bug Parade Infusion

  • Michelle D'Souza commented 2011-06-17T12:30:55.428-0400

    Pull request https://github.com/fluid-project/infusion/pull/78 merged into project repo at f8310470861d9f3f17a4bbfce8a03d2d778e4b29