Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
Add css fix
  • Loading branch information
tsmr committed Oct 10, 2022
1 parent d3153c0 commit 64d4272
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
8 changes: 7 additions & 1 deletion inc/barchart.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,19 @@ static function launchGraph($graph_datas = [], $graph_criterias = []) {
xAxis: [
{
type: 'category',
data: $labels
data: $labels,
axisPointer: {
type: 'shadow'
}
}
],
yAxis: [
{
type: 'value'
},{
type: 'value'
}
],
series: $datas
};
Expand Down
3 changes: 2 additions & 1 deletion inc/helper.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1796,7 +1796,8 @@ static function getForm($widgetId, $opt, $criterias, $onsubmit = false) {
}

if ($onsubmit) {
$form .= Html::submit(_x('button', 'Send'), ['name' => 'submit', 'class' => 'btn btn-primary']);
$form .= Html::submit(_x('button', 'Send'), ['name' => 'submit',
'class' => 'btn btn-primary']);
}

return $form . self::getFormFooter();
Expand Down
5 changes: 5 additions & 0 deletions mydashboard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
<author>Infotel</author>
</authors>
<versions>
<version>
<num>2.0.7</num>
<compatibility>~10.0</compatibility>
<download_url>https://github.com/InfotelGLPI/mydashboard/releases/download/2.0.7/glpi-mydashboard-2.0.7.tar.bz2</download_url>
</version>
<version>
<num>2.0.6</num>
<compatibility>~10.0</compatibility>
Expand Down
2 changes: 1 addition & 1 deletion reports/alert.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2208,7 +2208,7 @@ function getAlertSummary($public = 0, $force = 0) {
$nb_maintenance = self::countForAlerts($public, 1);
if ($nb || $nb_maintenance > 0) {

$wl .= Html::css(PLUGIN_MYDASHBOARD_NOTFULL_DIR . "/css/mydashboard.css");
$wl .= Html::css(PLUGIN_MYDASHBOARD_NOTFULL_DIR . "/css/mydashboard.scss");

// $css_file = PLUGIN_MYDASHBOARD_NOTFULL_DIR . "/css/info.css";
// if (file_exists($css_file) && $public == 1) {
Expand Down
2 changes: 1 addition & 1 deletion setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
--------------------------------------------------------------------------
*/

define('PLUGIN_MYDASHBOARD_VERSION', '2.0.6');
define('PLUGIN_MYDASHBOARD_VERSION', '2.0.7');

if (!defined("PLUGIN_MYDASHBOARD_DIR")) {
define("PLUGIN_MYDASHBOARD_DIR", Plugin::getPhpDir("mydashboard"));
Expand Down

0 comments on commit 64d4272

Please sign in to comment.