Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phame/controller/blog/PhameBlogManageController.php
| Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | private function renderProperties( | ||||
| require_celerity_resource('aphront-tooltip-css'); | require_celerity_resource('aphront-tooltip-css'); | ||||
| Javelin::initBehavior('phabricator-tooltips'); | Javelin::initBehavior('phabricator-tooltips'); | ||||
| $properties = id(new PHUIPropertyListView()) | $properties = id(new PHUIPropertyListView()) | ||||
| ->setUser($viewer) | ->setUser($viewer) | ||||
| ->setObject($blog) | ->setObject($blog) | ||||
| ->setActionList($actions); | ->setActionList($actions); | ||||
| $skin = $blog->getSkin(); | |||||
| if (!$skin) { | |||||
| $skin = phutil_tag('em', array(), pht('No external skin')); | |||||
| } | |||||
| $domain = $blog->getDomain(); | $domain = $blog->getDomain(); | ||||
| if (!$domain) { | if (!$domain) { | ||||
| $domain = phutil_tag('em', array(), pht('No external domain')); | $domain = phutil_tag('em', array(), pht('No external domain')); | ||||
| } | } | ||||
| $properties->addProperty(pht('Skin'), $skin); | |||||
| $properties->addProperty(pht('Domain'), $domain); | $properties->addProperty(pht('Domain'), $domain); | ||||
| $feed_uri = PhabricatorEnv::getProductionURI( | $feed_uri = PhabricatorEnv::getProductionURI( | ||||
| $this->getApplicationURI('blog/feed/'.$blog->getID().'/')); | $this->getApplicationURI('blog/feed/'.$blog->getID().'/')); | ||||
| $properties->addProperty( | $properties->addProperty( | ||||
| pht('Atom URI'), | pht('Atom URI'), | ||||
| javelin_tag('a', | javelin_tag('a', | ||||
| array( | array( | ||||
| ▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines | |||||