Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #12 from MrNuggelz/linkbutton-patch
Browse files Browse the repository at this point in the history
Remove deprecated linkbutton element from source
  • Loading branch information
joshuaboniface committed May 2, 2019
2 parents 9604988 + 1c89b30 commit ef75881
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Emby.AutoOrganize/Configuration/autoorganizelog.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(['globalize', 'serverNotifications', 'events', 'scripts/taskbutton', 'datetime', 'loading', 'libraryMenu', 'paper-icon-button-light', 'emby-linkbutton', 'detailtablecss'], function (globalize, serverNotifications, events, taskButton, datetime, loading, libraryMenu) {
define(['globalize', 'serverNotifications', 'events', 'scripts/taskbutton', 'datetime', 'loading', 'libraryMenu', 'paper-icon-button-light', 'emby-button', 'detailtablecss'], function (globalize, serverNotifications, events, taskButton, datetime, loading, libraryMenu) {
'use strict';

ApiClient.getFileOrganizationResults = function (options) {
Expand Down Expand Up @@ -257,7 +257,7 @@

if (item.StatusMessage) {

return '<a style="color:' + color + ';" data-resultid="' + item.Id + '" is="emby-linkbutton" href="#" class="button-link btnShowStatusMessage">' + status + '</a>';
return '<a style="color:' + color + ';" data-resultid="' + item.Id + '" is="emby-button" href="#" class="button-link btnShowStatusMessage">' + status + '</a>';
} else {
return '<span data-resultid="' + item.Id + '" style="color:' + color + ';">' + status + '</span>';
}
Expand Down Expand Up @@ -405,12 +405,12 @@
html += '</span>';
}
else if (status === 'SkippedExisting') {
html += '<a is="emby-linkbutton" data-resultid="' + item.Id + '" style="color:blue;" href="#" class="button-link btnShowStatusMessage">';
html += '<a is="emby-button" data-resultid="' + item.Id + '" style="color:blue;" href="#" class="button-link btnShowStatusMessage">';
html += item.OriginalFileName;
html += '</a>';
}
else if (status === 'Failure') {
html += '<a is="emby-linkbutton" data-resultid="' + item.Id + '" style="color:red;" href="#" class="button-link btnShowStatusMessage">';
html += '<a is="emby-button" data-resultid="' + item.Id + '" style="color:red;" href="#" class="button-link btnShowStatusMessage">';
html += item.OriginalFileName;
html += '</a>';
} else {
Expand Down
4 changes: 2 additions & 2 deletions Emby.AutoOrganize/Emby.AutoOrganize.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyVersion>2.0.0</AssemblyVersion>
<FileVersion>2.0.0</FileVersion>
<AssemblyVersion>3.0.0</AssemblyVersion>
<FileVersion>3.0.0</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: "jellyfin-plugin-autoorganize"
guid: "70b7b43b-471b-4159-b4be-56750c795499"
version: "2" # Please increment with each pull request
version: "3" # Please increment with each pull request
jellyfin_version: "10.3.0" # The earliest binary-compatible version
owner: "jellyfin"
nicename: "Auto Organize"
Expand Down

0 comments on commit ef75881

Please sign in to comment.