commit f53c7f18f519475a25efc063fb7dd12a5f0e72dd Author: Joel Pittet Date: Tue Mar 12 22:16:23 2013 -0700 1898472-13 diff --git a/core/modules/views/views_ui/templates/views-ui-build-group-filter-form.html.twig b/core/modules/views/views_ui/templates/views-ui-build-group-filter-form.html.twig index 2c02e5a..3aca625 100644 --- a/core/modules/views/views_ui/templates/views-ui-build-group-filter-form.html.twig +++ b/core/modules/views/views_ui/templates/views-ui-build-group-filter-form.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Default theme implementation for @todo + * Default theme implementation for build group filter form. * * Available variables: * - form_description: @todo. @@ -16,7 +16,7 @@ * - label: @todo. * - description: @todo. * - children: @todo. - * - table: @todo. + * - table: A rendered table element of the group filter form.. * - add_group: @todo. * - more: @todo. * - children: Child elements of the form that still need to be printed. diff --git a/core/modules/views/views_ui/templates/views-ui-container.html.twig b/core/modules/views/views_ui/templates/views-ui-container.html.twig index 318488c..2e1de6f 100644 --- a/core/modules/views/views_ui/templates/views-ui-container.html.twig +++ b/core/modules/views/views_ui/templates/views-ui-container.html.twig @@ -15,4 +15,4 @@ * @ingroup themeable */ #} -
{{ children }}
+{{ children }} diff --git a/core/modules/views/views_ui/templates/views-ui-display-tab-bucket.html.twig b/core/modules/views/views_ui/templates/views-ui-display-tab-bucket.html.twig index d236994..bd028cf 100644 --- a/core/modules/views/views_ui/templates/views-ui-display-tab-bucket.html.twig +++ b/core/modules/views/views_ui/templates/views-ui-display-tab-bucket.html.twig @@ -4,12 +4,10 @@ * Default theme implementation for each "box" on the display query edit screen. * * Available variables: - * - attributes: Remaining HTML attributes for the element. - * - attributes.class: HTML classes that can be used to style contextually - * through CSS. - * - title: @todo. + * - attributes: HTML attributes for the element. + * - title: The display title. * - content: The content for this tab bucket. - * - actions: @todo. + * - actions: Action controls. * * @see template_preprocess() * @see template_preprocess_views_ui_display_tab_bucket() @@ -17,7 +15,7 @@ * @ingroup themeable */ #} -
+ {% if title %}

{{ title }}

{% endif %} diff --git a/core/modules/views/views_ui/templates/views-ui-display-tab-setting.html.twig b/core/modules/views/views_ui/templates/views-ui-display-tab-setting.html.twig index b295a24..e08f52f 100644 --- a/core/modules/views/views_ui/templates/views-ui-display-tab-setting.html.twig +++ b/core/modules/views/views_ui/templates/views-ui-display-tab-setting.html.twig @@ -8,8 +8,8 @@ * - attributes: Remaining HTML attributes for the element. * - attributes.class: HTML classes that can be used to style contextually. * through CSS. - * - zebra: @todo - * - description: @todo + * - zebra: Outputs either "even" or "odd". + * - description: Display setting description. * - settings_links: @todo. * * @see template_preprocess() diff --git a/core/modules/views/views_ui/templates/views-ui-rearrange-filter-form.html.twig b/core/modules/views/views_ui/templates/views-ui-rearrange-filter-form.html.twig index 21d3881..083a8c1 100644 --- a/core/modules/views/views_ui/templates/views-ui-rearrange-filter-form.html.twig +++ b/core/modules/views/views_ui/templates/views-ui-rearrange-filter-form.html.twig @@ -9,7 +9,7 @@ * - filter_groups_operator: @todo. * - filter_groups_group: @todo. * - ungroupable_table: @todo. - * - table: @todo. + * - table: Filter's form table. * - children: Child elements of the form that still need to be printed. * * @see template_preprocess() diff --git a/core/modules/views/views_ui/templates/views-ui-rearrange-form.html.twig b/core/modules/views/views_ui/templates/views-ui-rearrange-form.html.twig index 041c29a..1407476 100644 --- a/core/modules/views/views_ui/templates/views-ui-rearrange-form.html.twig +++ b/core/modules/views/views_ui/templates/views-ui-rearrange-form.html.twig @@ -1,11 +1,11 @@ {# /** * @file - * Default theme implementation for rearranging form into a proper table + * Default theme implementation for rearranging form into a proper table. * * Available variables: - * - override: @todo - * - table: @todo + * - override: Override dropdown for this display. + * - table: Rearrange form table. * - children: Child elements of the form that still need to be printed. * * @see template_preprocess() diff --git a/core/modules/views/views_ui/templates/views-ui-reorder-displays-form.html.twig b/core/modules/views/views_ui/templates/views-ui-reorder-displays-form.html.twig index 1989a9e..da3626c 100644 --- a/core/modules/views/views_ui/templates/views-ui-reorder-displays-form.html.twig +++ b/core/modules/views/views_ui/templates/views-ui-reorder-displays-form.html.twig @@ -1,11 +1,11 @@ {# /** * @file - * Default theme implementation for reordering form into a proper table. + * Default theme implementation for reordering displays form. * * Available variables: - * - override: @todo - * - table: @todo + * - override: Override dropdown for this display. + * - table: Rearrange form table. * - children: Child elements of the form that still need to be printed. * * @see template_preprocess() diff --git a/core/modules/views/views_ui/templates/views-ui-style-plugin-table.html.twig b/core/modules/views/views_ui/templates/views-ui-style-plugin-table.html.twig index a1be9c5..98b6063 100644 --- a/core/modules/views/views_ui/templates/views-ui-style-plugin-table.html.twig +++ b/core/modules/views/views_ui/templates/views-ui-style-plugin-table.html.twig @@ -4,8 +4,8 @@ * Default theme implementation for form for the table style plugin. * * Available variables: - * - description: @todo. - * - table: @todo. + * - description: Style plugin description. + * - table: Style plugin form table. * - children: Child elements of the form that still need to be printed. * * @see template_preprocess() diff --git a/core/modules/views/views_ui/templates/views-ui-view-preview-section.html.twig b/core/modules/views/views_ui/templates/views-ui-view-preview-section.html.twig index 4c6606d..816fe58 100644 --- a/core/modules/views/views_ui/templates/views-ui-view-preview-section.html.twig +++ b/core/modules/views/views_ui/templates/views-ui-view-preview-section.html.twig @@ -1,7 +1,8 @@ {# /** * @file - * Default theme implementation for a section of a View being previewed within the Views UI. + * Default theme implementation for a section of a View being previewed within + * the Views UI. * * Available variables: * - title: Section title. diff --git a/core/modules/views/views_ui/views_ui.theme.inc b/core/modules/views/views_ui/views_ui.theme.inc index 7df913e..8505921 100644 --- a/core/modules/views/views_ui/views_ui.theme.inc +++ b/core/modules/views/views_ui/views_ui.theme.inc @@ -63,7 +63,7 @@ function template_preprocess_views_ui_display_tab_setting(&$variables) { * * @param array $variables * An associative array containing: - * - @todo list variables + * - element: An associative array containing the properties of the element. */ function template_preprocess_views_ui_display_tab_bucket(&$variables) { $element = $variables['element']; @@ -88,7 +88,7 @@ function template_preprocess_views_ui_display_tab_bucket(&$variables) { * * @param array $variables * An associative array containing: - * - @todo list variables + * - view: The view object. */ function template_preprocess_views_ui_view_info(&$variables) { $variables['title'] = $variables['view']->getHumanName(); @@ -104,7 +104,7 @@ function template_preprocess_views_ui_view_info(&$variables) { * * @param array $variables * An associative array containing: - * - @todo list variables + * - form: A render element representing the form. */ function template_preprocess_views_ui_expose_filter_form(&$variables) { $form = $variables['form']; @@ -160,7 +160,7 @@ function template_preprocess_views_ui_expose_filter_form(&$variables) { * * @param array $variables * An associative array containing: - * - @todo list variables + * - form: A render element representing the form. */ function template_preprocess_views_ui_build_group_filter_form(&$variables) { $form = $variables['form']; @@ -228,7 +228,7 @@ function template_preprocess_views_ui_build_group_filter_form(&$variables) { foreach (element_children($form['group_items']) as $group_id) { $form['group_items'][$group_id]['value']['#title'] = ''; $remove_link = array( - '#theme' => '#link', + '#theme' => 'link', '#path' => 'javascript:void()', '#text' => '' . t('Remove') . '', '#options' => array( @@ -298,7 +298,7 @@ function template_preprocess_views_ui_build_group_filter_form(&$variables) { * * @param array $variables * An associative array containing: - * - @todo list variables + * - form: A render element representing the form. */ function template_preprocess_views_ui_reorder_displays_form(&$variables) { $form = $variables['form']; @@ -376,11 +376,10 @@ function template_preprocess_views_ui_reorder_displays_form(&$variables) { * * @param array $variables * An associative array containing: - * - @todo list variables + * - form: A render element representing the form. */ function template_preprocess_views_ui_rearrange_form(&$variables) { $form = $variables['form']; - dpm($form); $rows = array(); foreach (element_children($form['fields']) as $id) { @@ -442,7 +441,7 @@ function template_preprocess_views_ui_rearrange_form(&$variables) { * * @param array $variables * An associative array containing: - * @todo list variables + * - form: A render element representing the form. */ function template_preprocess_views_ui_rearrange_filter_form(&$variables) { $form = $variables['form']; @@ -586,7 +585,7 @@ function template_preprocess_views_ui_rearrange_filter_form(&$variables) { * * @param array $variables * An associative array containing: - * @todo list variables + * - form: A render element representing the form. */ function template_preprocess_views_ui_style_plugin_table(&$variables) { $form = $variables['form']; @@ -680,7 +679,7 @@ function template_preprocess_views_ui_style_plugin_table(&$variables) { * * @param array $variables * An associative array containing: - * @todo list variables + * - section: @todo. */ function template_preprocess_views_ui_view_preview_section(&$variables) { switch ($variables['section']) {