Conditions | 1 |
Paths | 1 |
Total Lines | 22 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
43 | public function run(): string |
||
44 | { |
||
45 | return Html::tag( |
||
46 | 'a', |
||
47 | Yii::t('hipanel', 'Empty'), |
||
48 | [ |
||
49 | 'class' => 'apply-ptr-change', |
||
50 | 'href' => '#', |
||
51 | 'data' => [ |
||
52 | 'container' => 'body', |
||
53 | 'toggle' => 'popover', |
||
54 | 'title' => 'PTR', |
||
55 | 'content' => Html::a( |
||
56 | Yii::t('hipanel:hosting', 'Apply for change of PTR records'), |
||
57 | ['@ticket/create'], |
||
58 | ['target' => '_blank'] |
||
59 | ), |
||
60 | 'placement' => 'top', |
||
61 | ], |
||
62 | ] |
||
63 | ); |
||
64 | } |
||
65 | } |
||
66 |