Index: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.i18n.php |
— | — | @@ -128,6 +128,7 @@ |
129 | 129 | 'articlefeedbackv5-desc' => 'Article feedback', |
130 | 130 | 'articlefeedbackv5-comment-more' => 'More', |
131 | 131 | 'articlefeedbackv5-comment-less' => 'Less', |
| 132 | + 'articlefeedbackv5-beta-notice' => 'Beta', |
132 | 133 | |
133 | 134 | /* Feedback forms */ |
134 | 135 | /* Option 1 ("Did you find what you were looking for?") */ |
— | — | @@ -447,6 +448,7 @@ |
448 | 449 | * <code>$1</code> – URL of the confirmation link |
449 | 450 | * <code>$2</code> – URL to type in the confirmation code manually. |
450 | 451 | * <code>$3</code> – Confirmation code for the user to type in', |
| 452 | + 'articlefeedbackv5-beta-notice' => 'The BETA state notice for article feedback v5', |
451 | 453 | ); |
452 | 454 | |
453 | 455 | /** Afrikaans (Afrikaans) |
Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.css |
— | — | @@ -9,6 +9,16 @@ |
10 | 10 | .float-clear:after { |
11 | 11 | clear: both; |
12 | 12 | } |
| 13 | +.articlefeedbackv5-beta-notice { |
| 14 | + text-transform: uppercase; |
| 15 | + color: #800; |
| 16 | + font-size: 1.4em; |
| 17 | + font-variant: bold; |
| 18 | + display: block; |
| 19 | + position: absolute; |
| 20 | + top: 45px; |
| 21 | + right: 0; |
| 22 | +} |
13 | 23 | #articleFeedbackv5-header-wrap { |
14 | 24 | margin: 0 0 10px; |
15 | 25 | } |
Index: trunk/extensions/ArticleFeedbackv5/SpecialArticleFeedbackv5.php |
— | — | @@ -158,6 +158,15 @@ |
159 | 159 | . Html::closeElement( 'div' ) |
160 | 160 | ); |
161 | 161 | } |
| 162 | + |
| 163 | + // BETA notice |
| 164 | + $out->addHTML( |
| 165 | + Html::rawElement( 'span', array( |
| 166 | + 'class' => 'articlefeedbackv5-beta-notice' |
| 167 | + ), $this->msg( 'articlefeedbackv5-beta-notice' )->text() ) |
| 168 | + . Html::element( 'div', array( 'class' => 'float-clear' ) ) |
| 169 | + . Html::closeElement( 'div' ) |
| 170 | + ); |
162 | 171 | |
163 | 172 | $out->addHtml( |
164 | 173 | Html::element( |