Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.css |
— | — | @@ -70,7 +70,11 @@ |
71 | 71 | #bodyContent h2 { |
72 | 72 | clear: both; |
73 | 73 | } |
| 74 | +#articleFeedbackv5-sort { |
| 75 | + width: 300px; |
| 76 | +} |
74 | 77 | #articleFeedbackv5-filter { |
| 78 | + float: left; |
75 | 79 | font-size: 1.125em; |
76 | 80 | } |
77 | 81 | #articleFeedbackv5-sort-filter-controls { |
— | — | @@ -95,6 +99,14 @@ |
96 | 100 | float: none; |
97 | 101 | display: inline-block; |
98 | 102 | } |
| 103 | +#articleFeedbackv5-tools-label { |
| 104 | + float: right; |
| 105 | + top: 0; |
| 106 | + right: 150; |
| 107 | + font-size: 1.125em; |
| 108 | + width: 140px; |
| 109 | +} |
| 110 | + |
99 | 111 | #articleFeedbackv5-show-feedback { |
100 | 112 | min-height: 250px; |
101 | 113 | } |
Index: trunk/extensions/ArticleFeedbackv5/SpecialArticleFeedbackv5.php |
— | — | @@ -282,10 +282,18 @@ |
283 | 283 | . $filterSelect->getHTML() |
284 | 284 | . $this->msg( 'articlefeedbackv5-special-filter-label-after' )->escaped() |
285 | 285 | . Html::closeElement( 'div' ) |
286 | | - |
287 | | - |
| 286 | + ); |
| 287 | + if( $wgUser->isAllowed( 'aftv5-delete-feedback' ) || $wgUser->isAllowed( 'aftv5-hide-feedback' ) ) { |
| 288 | + $out->addHTML( |
| 289 | + Html::openElement( |
| 290 | + 'div', |
| 291 | + array( 'id' => 'articleFeedbackv5-tools-label' ) |
| 292 | + ) |
| 293 | + . $this->msg( 'articlefeedbackv5-form-tools-label' )->escaped() |
288 | 294 | . Html::closeElement( 'div' ) |
289 | | - ); |
| 295 | + ); |
| 296 | + } |
| 297 | + $out->addHTML( Html::closeElement( 'div' ) ); |
290 | 298 | |
291 | 299 | $out->addHTML( |
292 | 300 | Html::element( |