-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⬆️ Update dependencies to include their fixes
- Loading branch information
Showing
8 changed files
with
81 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
dist/molkobain-markdown-viewer/molkobain-newsroom-provider/common/css/default.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/*! | ||
* Copyright (c) 2015 - 2019 Molkobain. | ||
* | ||
* This file is part of licensed extension. | ||
* | ||
* Use of this extension is bound by the license you purchased. A license grants you a non-exclusive and non-transferable right to use and incorporate the item in your personal or commercial projects. There are several licenses available (see https://www.molkobain.com/usage-licenses/ for more informations) | ||
*/ | ||
|
||
/* Overload the default newsroom style to fix markdown rendering */ | ||
#newsroom_menu li li p{ | ||
margin-bottom: 0.8em; | ||
} |
55 changes: 55 additions & 0 deletions
55
...-markdown-viewer/molkobain-newsroom-provider/console/applicationuiextension.class.inc.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?php | ||
/** | ||
* Copyright (c) 2015 - 2019 Molkobain. | ||
* | ||
* This file is part of licensed extension. | ||
* | ||
* Use of this extension is bound by the license you purchased. A license grants you a non-exclusive and non-transferable right to use and incorporate the item in your personal or commercial projects. There are several licenses available (see https://www.molkobain.com/usage-licenses/ for more informations) | ||
*/ | ||
|
||
namespace Molkobain\iTop\Extension\NewsroomProvider\Console\Extension; | ||
|
||
use iPageUIExtension; | ||
use iTopWebPage; | ||
use Molkobain\iTop\Extension\NewsroomProvider\Common\Helper\ConfigHelper; | ||
use utils; | ||
|
||
/** | ||
* Class PageUIExtension | ||
* | ||
* @package Molkobain\iTop\Extension\NewsroomProvider\Console\Extension | ||
*/ | ||
class PageUIExtension implements iPageUIExtension | ||
{ | ||
/** | ||
* @inheritDoc | ||
*/ | ||
public function GetNorthPaneHtml(iTopWebPage $oPage) | ||
{ | ||
// Check if enabled | ||
if(!ConfigHelper::IsEnabled()) | ||
{ | ||
return; | ||
} | ||
|
||
// Add external files now as it might make some glitches if loaded after async call | ||
// - CSS files | ||
$oPage->add_saas('env-' . utils::GetCurrentEnvironment() . '/' . ConfigHelper::GetModuleCode() . '/common/css/default.scss'); | ||
} | ||
|
||
/** | ||
* @inheritDoc | ||
*/ | ||
public function GetSouthPaneHtml(iTopWebPage $oPage) | ||
{ | ||
// Do nothing | ||
} | ||
|
||
/** | ||
* @inheritDoc | ||
*/ | ||
public function GetBannerHtml(iTopWebPage $oPage) | ||
{ | ||
// Do nothing | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters