jenkins-bot has submitted this change and it was merged.

Change subject: Fix transcode download links on mobile
......................................................................


Fix transcode download links on mobile

Bug: T103129
Change-Id: Ibd6e19a44a2b9122b1b51d3cdbee34c056888307
---
M TranscodeStatusTable.php
M resources/transcodeTable.css
2 files changed, 7 insertions(+), 2 deletions(-)

Approvals:
  TheDJ: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/TranscodeStatusTable.php b/TranscodeStatusTable.php
index 8fc5ad6..497a25f 100644
--- a/TranscodeStatusTable.php
+++ b/TranscodeStatusTable.php
@@ -66,7 +66,8 @@
                        $o.='<td>';
                        $o.= ( !is_null( $state['time_success'] ) ) ?
                                '<a href="'.self::getSourceUrl( $file, 
$transcodeKey ) .'" title="'.wfMessage
-                               ('timedmedia-download' )->escaped() .'"><div 
class="download-btn"></div></a></td>' :
+                               ('timedmedia-download' )->escaped() .'"><div 
class="download-btn"><span>' .
+                               wfMessage('timedmedia-download' )->escaped(). 
'</span></div></a></td>' :
                                wfMessage('timedmedia-not-ready' )->escaped();
                        $o.='</td>';
 
diff --git a/resources/transcodeTable.css b/resources/transcodeTable.css
index a0a02d8..795ce13 100644
--- a/resources/transcodeTable.css
+++ b/resources/transcodeTable.css
@@ -7,4 +7,8 @@
 }
 .mw-filepage-transcodestatus .download-btn:hover {
        background-position: 0 0;
-}
\ No newline at end of file
+}
+.mw-filepage-transcodestatus .download-btn span {
+       /* Text hidden by the above image */
+       display: none;
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/219400
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibd6e19a44a2b9122b1b51d3cdbee34c056888307
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TimedMediaHandler
Gerrit-Branch: master
Gerrit-Owner: Brion VIBBER <br...@wikimedia.org>
Gerrit-Reviewer: TheDJ <hartman.w...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to