mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 00:02:41 +01:00
ed3dfd491f
Summary: Ref T8726. Modularize action values. Fully modularize "text", "none" and "select" controls. Only tokenizers remain. Test Plan: - Used all affected value types in UI. - Reviewed rules using new modular rendering, saw sensible output. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T8726 Differential Revision: https://secure.phabricator.com/D13614
27 lines
605 B
PHP
27 lines
605 B
PHP
<?php
|
|
|
|
final class HeraldPreCommitRefAdapter extends HeraldPreCommitAdapter {
|
|
|
|
public function getAdapterContentName() {
|
|
return pht('Commit Hook: Branches/Tags/Bookmarks');
|
|
}
|
|
|
|
public function getAdapterSortOrder() {
|
|
return 2000;
|
|
}
|
|
|
|
public function getAdapterContentDescription() {
|
|
return pht(
|
|
"React to branches and tags being pushed to hosted repositories.\n".
|
|
"Hook rules can block changes and send push summary mail.");
|
|
}
|
|
|
|
public function isPreCommitRefAdapter() {
|
|
return true;
|
|
}
|
|
|
|
public function getHeraldName() {
|
|
return pht('Push Log (Ref)');
|
|
}
|
|
|
|
}
|