Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diviner/view/DivinerBookItemView.php
| Show All 37 Lines | protected function getTagAttributes() { | ||||
| ); | ); | ||||
| } | } | ||||
| protected function getTagContent() { | protected function getTagContent() { | ||||
| require_celerity_resource('diviner-shared-css'); | require_celerity_resource('diviner-shared-css'); | ||||
| $title = phutil_tag( | $title = phutil_tag( | ||||
| 'span', | 'span', | ||||
| array( | array( | ||||
| 'class' => 'diviner-book-item-title', | 'class' => 'diviner-book-item-title', | ||||
| ), | ), | ||||
| $this->title); | $this->title); | ||||
| $subtitle = phutil_tag( | $subtitle = phutil_tag( | ||||
| 'span', | 'span', | ||||
| array( | array( | ||||
| 'class' => 'diviner-book-item-subtitle', | 'class' => 'diviner-book-item-subtitle', | ||||
| ), | ), | ||||
| $this->subtitle); | $this->subtitle); | ||||
| $type = phutil_tag( | $type = phutil_tag( | ||||
| 'span', | 'span', | ||||
| array( | array( | ||||
| 'class' => 'diviner-book-item-type', | 'class' => 'diviner-book-item-type', | ||||
| ), | ), | ||||
| $this->type); | $this->type); | ||||
| return array($title, $type, $subtitle); | return array($title, $type, $subtitle); | ||||
| } | } | ||||
| } | } | ||||