Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
extends: [
'../../.stylelintrc.js'
],
ignoreFiles: [
'node_modules/**/*',
'vendor/**/*'
],
};
2 changes: 1 addition & 1 deletion .twig_cs.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Glpi\Tools\GlpiTwigRuleset;

$finder = TemplateFinder::create()
->in(__DIR__ . '/templates')->in(__DIR__ . '/templates/components')
->in(__DIR__ . '/templates')
->name('*.html.twig')
->ignoreVCSIgnored(true);

Expand Down
25 changes: 12 additions & 13 deletions composer.lock

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

6 changes: 3 additions & 3 deletions public/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,18 @@
}

.plugin_news_alert-toggle {
background-image: url(../pics/toggle_down.png);
background-image: url("../pics/toggle_down.png");
width: 16px;
height: 16px;
cursor: pointer;
opacity: .5;
position: absolute;
top: 3px;
right: 0;
opacity: .5;
}

.expanded .plugin_news_alert-toggle {
background-image: url(../pics/toggle_up.png);
background-image: url("../pics/toggle_up.png");
}

.plugin_news_alert-visibility {
Expand Down
4 changes: 1 addition & 3 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@
* along with News. If not, see <http://www.gnu.org/licenses/>.
* -------------------------------------------------------------------------
* @copyright Copyright (C) 2015-2023 by News plugin team.
* @copyright Copyright (C) 2018-2023 by Metabase plugin team.
* @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
* @link https://github.com/pluginsGLPI/news
* @link https://github.com/pluginsGLPI/metabase
* -------------------------------------------------------------------------
*/

Expand All @@ -47,7 +45,7 @@
->withPhpVersion(PhpVersion::PHP_82)
->withCache(
cacheClass: FileCacheStorage::class,
cacheDirectory: sys_get_temp_dir() . '/metabase-rector',
cacheDirectory: sys_get_temp_dir() . '/news-rector',
)
->withRootFiles()
->withParallel(timeoutSeconds: 300)
Expand Down