Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionSymbolController.php
| Show First 20 Lines • Show All 128 Lines • ▼ Show 20 Lines | $table->setColumnClasses( | ||||
| 'pri', | 'pri', | ||||
| '', | '', | ||||
| '', | '', | ||||
| '', | '', | ||||
| )); | )); | ||||
| $table->setNoDataString( | $table->setNoDataString( | ||||
| pht('No matching symbol could be found in any indexed repository.')); | pht('No matching symbol could be found in any indexed repository.')); | ||||
| $panel = id(new PHUIObjectBoxView()) | $header = id(new PHUIHeaderView()) | ||||
| ->setHeaderText(pht('Similar Symbols')) | ->setHeader(pht('Similar Symbols')) | ||||
| ->setTable($table); | ->setHeaderIcon('fa-bullseye'); | ||||
| $crumbs = $this->buildApplicationCrumbs(); | $crumbs = $this->buildApplicationCrumbs(); | ||||
| $crumbs->addTextCrumb(pht('Find Symbol')); | $crumbs->addTextCrumb(pht('Find Symbol')); | ||||
| $crumbs->setBorder(true); | |||||
| $view = id(new PHUITwoColumnView()) | |||||
| ->setHeader($header) | |||||
| ->setFooter(array( | |||||
| $table, | |||||
| )); | |||||
| return $this->newPage() | return $this->newPage() | ||||
| ->setTitle(pht('Find Symbol')) | ->setTitle(pht('Find Symbol')) | ||||
| ->setCrumbs($crumbs) | ->setCrumbs($crumbs) | ||||
| ->appendChild($panel); | ->appendChild($view); | ||||
| } | } | ||||
| } | } | ||||