mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-16 21:38:51 -04:00
Merge pull request #1522 from Alkarex/download-other-mimes
Download icon 💾 for other MIME types
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
* Fix UI lowest subscription popup hidden [#1479](https://github.com/FreshRSS/FreshRSS/issues/1479)
|
||||
* Fix update system via ZIP archive [#1498](https://github.com/FreshRSS/FreshRSS/pull/1498)
|
||||
* Work around for IE / Edge bug in username pattern in version 1.6.3 [#1511](https://github.com/FreshRSS/FreshRSS/issues/1511)
|
||||
* UI
|
||||
* Download icon 💾 for other MIME types (e.g. `application/*`) [#1522](https://github.com/FreshRSS/FreshRSS/pull/1522)
|
||||
* I18n
|
||||
* Improve English [#1465](https://github.com/FreshRSS/FreshRSS/pull/1465)
|
||||
* Misc.
|
||||
|
||||
@@ -328,7 +328,7 @@ class FreshRSS_Feed extends Minz_Model {
|
||||
} elseif (strpos($mime, 'video/') === 0) {
|
||||
$content .= '<p class="enclosure"><video preload="none" src="' . $elink . '" controls="controls"></video> <a download="" href="' . $elink . '">💾</a></p>';
|
||||
} else {
|
||||
unset($elinks[$elink]);
|
||||
$content .= '<p class="enclosure"><a download="" href="' . $elink . '">💾</a></p>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user