Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82797243
AlmanacClusterServiceType.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
Fri, Sep 13, 11:57
Size
816 B
Mime Type
text/x-php
Expires
Sun, Sep 15, 11:57 (2 d)
Engine
blob
Format
Raw Data
Handle
20755331
Attached To
rPH Phabricator
AlmanacClusterServiceType.php
View Options
<?php
abstract
class
AlmanacClusterServiceType
extends
AlmanacServiceType
{
public
function
isClusterServiceType
()
{
return
true
;
}
public
function
getServiceTypeIcon
()
{
return
'fa-sitemap'
;
}
public
function
getStatusMessages
(
AlmanacService
$service
)
{
$messages
=
parent
::
getStatusMessages
(
$service
);
if
(!
$service
->
getIsLocked
())
{
$doc_href
=
PhabricatorEnv
::
getDoclink
(
'User Guide: Phabricator Clusters'
);
$doc_link
=
phutil_tag
(
'a'
,
array
(
'href'
=>
$doc_href
,
'target'
=>
'_blank'
,
),
pht
(
'Learn More'
));
$messages
[]
=
pht
(
'This is an unlocked cluster service. After you finish editing '
.
'it, you should lock it. %s.'
,
$doc_link
);
}
return
$messages
;
}
}
Event Timeline
Log In to Comment