Skip to content

Commit

Permalink
Fix no 2
Browse files Browse the repository at this point in the history
Lucas i also added to view as i saw that Yura did so. Hopefully thats it. I tested it on my local and it works.
  • Loading branch information
mbumpalumpa committed Nov 14, 2024
1 parent a80ff56 commit 6bb21c6
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
26 changes: 26 additions & 0 deletions assets/Assets.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2015 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*/

namespace humhub\modules\mostactiveusers\assets;

use yii\web\AssetBundle;

class Assets extends AssetBundle
{
/**
* @inheritdoc
*/
public $sourcePath = '@mostactiveusers/resources';

/**
* @inheritdoc
*/
public $css = [
'css/mostactiveusers.css',
];
}
File renamed without changes.
3 changes: 1 addition & 2 deletions widgets/views/sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use yii\helpers\Html;

humhub\modules\mostactiveusers\Assets::register($this);
humhub\modules\mostactiveusers\assets\Assets::register($this);
?>
<div class="panel panel-default" id="mostactiveusers-panel">

Expand Down Expand Up @@ -38,4 +38,3 @@
?>
</div>
</div>

0 comments on commit 6bb21c6

Please sign in to comment.