Skip to content

Commit

Permalink
Fixed: NFO display was broken with last version. Also adapted NFO and…
Browse files Browse the repository at this point in the history
… log colors to grey theme.
  • Loading branch information
[email protected] authored and [email protected] committed Feb 11, 2017
1 parent 75a91c1 commit 8aa9f7d
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 16 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# NZB Hydra changelog

----------
### 0.2.199
Fixed: NFO display was broken with last version. Also adapted NFO and log colors to grey theme.

### 0.2.198
Added: Download limit for indexers. When the download limit is reached for an indexer it will not be picked for searching. Please note that Hydra
will never prevent downloads from happening even when the download limit is reached. This is to make sure that external tools do not disable Hydra
Expand Down
4 changes: 2 additions & 2 deletions static/css/grey.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/css/grey.css.map

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions static/js/nzbhydra.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/js/nzbhydra.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions ui-src/js/directives/search-result-non-title-columns.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function otherColumns($http, $templateCache, $compile, $window) {
function openModal(size, nfo) {
var modalInstance = $uibModal.open({
template: '<pre class="nfo"><span ng-bind-html="nfo"></span></pre>',
controller: 'NfoModalInstanceCtrl',
controller: NfoModalInstanceCtrl,
size: size,
resolve: {
nfo: function () {
Expand Down Expand Up @@ -80,15 +80,15 @@ angular
.module('nzbhydraApp')
.controller('NfoModalInstanceCtrl', NfoModalInstanceCtrl);

function NfoModalInstanceCtrl($scope, $modalInstance, nfo) {
function NfoModalInstanceCtrl($scope, $uibModalInstance, nfo) {

$scope.nfo = nfo;

$scope.ok = function () {
$modalInstance.close($scope.selected.item);
$uibModalInstance.close($scope.selected.item);
};

$scope.cancel = function () {
$modalInstance.dismiss();
$uibModalInstance.dismiss();
};
}
6 changes: 4 additions & 2 deletions ui-src/less/grey.less
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,12 @@
@code-bg: rgb(249, 242, 244);
@kbd-color: rgb(255, 255, 255);
@kbd-bg: rgb(51, 51, 51);
@pre-bg: rgb(245, 245, 245);
@pre-color: @gray-dark;
@pre-bg: @gray-dark;
@pre-color: rgb(245, 245, 245);
@pre-border-color: rgb(204, 204, 204);



@modal-content-bg: lighten(@body-bg, 3%);
@modal-content-border-color: rgba(0, 0, 0, 0.2);
@modal-content-fallback-border-color: rgb(153, 153, 153);
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.198
0.2.199

0 comments on commit 8aa9f7d

Please sign in to comment.