Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81331632
DrydockLeaseNoAuthorizationsLogType.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
Thu, Sep 5, 09:40
Size
695 B
Mime Type
text/x-php
Expires
Sat, Sep 7, 09:40 (2 d)
Engine
blob
Format
Raw Data
Handle
20551981
Attached To
rPH Phabricator
DrydockLeaseNoAuthorizationsLogType.php
View Options
<?php
final
class
DrydockLeaseNoAuthorizationsLogType
extends
DrydockLogType
{
const
LOGCONST
=
'core.lease.no-authorizations'
;
public
function
getLogTypeName
()
{
return
pht
(
'No Authorizations'
);
}
public
function
getLogTypeIcon
(
array
$data
)
{
return
'fa-map-o red'
;
}
public
function
renderLog
(
array
$data
)
{
$viewer
=
$this
->
getViewer
();
$authorizing_phid
=
idx
(
$data
,
'authorizingPHID'
);
return
pht
(
'The object which authorized this lease (%s) is not authorized to use '
.
'any of the blueprints the lease lists. Approve the authorizations '
.
'before using the lease.'
,
$viewer
->
renderHandle
(
$authorizing_phid
)->
render
());
}
}
Event Timeline
Log In to Comment