mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-19 01:57:55 +08:00
Fixes broken icons introduced into the media library by upgrading FontAwesome
This commit is contained in:
@@ -96,7 +96,7 @@ var mediaLibrarySettings = {
|
||||
moveActionUrl: '@Url.Action("Move", "Folder", new {area = "Orchard.MediaLibrary"})',
|
||||
deleteActionUrl: '@Url.Action("Delete", "Admin", new {area = "Orchard.MediaLibrary"})',
|
||||
cloneActionUrl: '@Url.Action("Clone", "Admin", new {area = "Orchard.MediaLibrary"})',
|
||||
hasFolderPath: @(viewModel.FolderPath != null ? "true" : "false"),
|
||||
hasFolderPath: @(!string.IsNullOrEmpty(viewModel.FolderPath) ? "true" : "false"),
|
||||
folderPath: '@HttpUtility.JavaScriptStringEncode(viewModel.FolderPath)',
|
||||
deleteConfirmationMessage: '@HttpUtility.JavaScriptStringEncode(T("Are you sure you want to delete these media items ?").Text)',
|
||||
cloneConfirmationMessage: '@HttpUtility.JavaScriptStringEncode(T("Are you sure you want to clone this media item ?").Text)',
|
||||
@@ -110,7 +110,7 @@ var mediaLibrarySettings = {
|
||||
<li>
|
||||
<div class="media-library-folder" data-bind="css: { 'in-progress': $root.pendingRequest() }">
|
||||
<div class="media-library-folder-title" data-bind="click: folderClicked, attr: { 'data-media-path': folderPath() }, css: {selected: isSelected()}">
|
||||
<a href="#" class="media-library-navigation-folder-link"><i data-bind=" css: {'icon-folder-open-alt': isExpanded(), 'icon-folder-close-alt': !isExpanded()}"></i><span data-bind=" text: name"></span></a>
|
||||
<a href="#" class="media-library-navigation-folder-link"><i class="fa" data-bind=" css: {'fa-folder-open-o': isExpanded(), 'fa-folder-o': !isExpanded()}"></i><span data-bind=" text: name"></span></a>
|
||||
</div>
|
||||
<ul data-bind="template: { name: 'media-folder-template', foreach: childFolders, afterRender: afterRenderMediaFolderTemplate}, visible: isExpanded()">
|
||||
</ul>
|
||||
|
@@ -53,7 +53,7 @@
|
||||
<fieldset>
|
||||
<legend>@T("Please enter the URL of the embeddable media you want to integrate (requires an oEmbed compatible media provider such as YouTube):")</legend>
|
||||
<div id="icon">
|
||||
<button type="submit" class="icon-download">@T("Preview")</button>
|
||||
<button type="submit" class="fa fa-download">@T("Preview")</button>
|
||||
</div>
|
||||
<div id="query">
|
||||
<input name="url" type="text" autofocus=autofocus autofocus=autofocus placeholder="@T("media url")" value="@Model.Url" />
|
||||
|
@@ -3,4 +3,4 @@
|
||||
MediaManagerIndexViewModel viewModel = Model.MediaManagerIndexViewModel;
|
||||
|
||||
}
|
||||
<li><a href="#" data-bind="click: selectRecent, css: { selected: !displayed() }" id="button-recent"><i class="icon-time"></i>@T("Recent")</a>
|
||||
<li><a href="#" data-bind="click: selectRecent, css: { selected: !displayed() }" id="button-recent"><i class="fa fa-clock-o"></i>@T("Recent")</a>
|
||||
|
@@ -37,7 +37,7 @@
|
||||
<form data-bind="submit: doSearch">
|
||||
<div class="query-container">
|
||||
<div id="icon">
|
||||
<button type="submit" class="icon-search"></button>
|
||||
<button type="submit" class="fa fa-search"></button>
|
||||
</div>
|
||||
<div id="query">
|
||||
<input type="text" autofocus placeholder="@T("search")"/>
|
||||
|
Reference in New Issue
Block a user