Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98206877
PhabricatorCalendarController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jan 11, 01:37
Size
620 B
Mime Type
text/x-php
Expires
Mon, Jan 13, 01:37 (2 d)
Engine
blob
Format
Raw Data
Handle
23532184
Attached To
rPH Phabricator
PhabricatorCalendarController.php
View Options
<?php
abstract
class
PhabricatorCalendarController
extends
PhabricatorController
{
protected
function
buildSideNavView
(
PhabricatorUserStatus
$status
=
null
)
{
$nav
=
new
AphrontSideNavFilterView
();
$nav
->
setBaseURI
(
new
PhutilURI
(
$this
->
getApplicationURI
()));
$nav
->
addLabel
(
pht
(
'Calendar'
));
$nav
->
addFilter
(
'/'
,
pht
(
'View All'
));
$nav
->
addFilter
(
'status/create/'
,
pht
(
'New Status'
));
if
(
$status
&&
$status
->
getID
())
{
$nav
->
addFilter
(
'status/edit/'
.
$status
->
getID
().
'/'
,
pht
(
'Edit Status'
));
}
$nav
->
addFilter
(
'status/'
,
pht
(
'Upcoming Statuses'
));
return
$nav
;
}
}
Event Timeline
Log In to Comment