You are here

views-ui-list-views.tpl.php in Views (for Drupal 7) 6.3

Same filename and directory in other branches
  1. 6.2 theme/views-ui-list-views.tpl.php

Displays the list of views on the administration screen.

File

theme/views-ui-list-views.tpl.php
View source
<?php

/**
 * @file
 *
 * Displays the list of views on the administration screen.
 */
?>
<p><?php

print $help;
?></p>
<?php

print $widgets;
foreach ($views as $view) {
  ?>
  <table class="views-entry <?php

  print $view->classes;
  ?>">
    <tbody>
      <tr>
        <td class="view-name">
          <?php

  print $help_type_icon;
  ?>
          <?php

  print t('<em>@type</em> @base view: <strong>@view</strong>', array(
    '@type' => $view->type,
    '@view' => $view->name,
    '@base' => $view->base,
  ));
  ?>
          <?php

  if (!empty($view->tag)) {
    ?>
            &nbsp;(<?php

    print $view->tag;
    ?>)
          <?php

  }
  ?>
        </td>
        <td class="view-ops"><?php

  print $view->ops;
  ?></td>
      </tr>
      <tr>
        <td>
          <?php

  if ($view->title) {
    ?>
            <?php

    print t('Title: @title', array(
      '@title' => $view->title,
    ));
    ?> <br />
          <?php

  }
  ?>
          <?php

  if ($view->path) {
    ?>
            <?php

    print t('Path: !path', array(
      '!path' => $view->path,
    ));
    ?> <br />
          <?php

  }
  ?>
          <?php

  if ($view->displays) {
    ?>
            <em><?php

    print $view->displays;
    ?> </em><br />
          <?php

  }
  ?>
        </td>
        <td colspan="1" class="description">
          <?php

  print $view->description;
  ?>
        </td>
      </tr>
    </tbody>
  </table>
<?php

}