mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-07 10:33:38 +00:00
Merge pull request #76 from JackDandy/feature/AddPageAndLayoutClassNames
Add ability for CSS/JS to target a specific page and layout.
This commit is contained in:
commit
101bd019be
2 changed files with 16 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
### 0.x.x (2014-11-xx xx:xx:xx UTC)
|
### 0.x.x (2014-12-xx xx:xx:xx UTC)
|
||||||
|
|
||||||
* Fix searches freezing due to unescaped ignored or required words
|
* Fix searches freezing due to unescaped ignored or required words
|
||||||
* Add failed database to unit tests tear down function
|
* Add failed database to unit tests tear down function
|
||||||
|
@ -10,11 +10,12 @@
|
||||||
* Change update Plex notifier (port from SickBeard)
|
* Change update Plex notifier (port from SickBeard)
|
||||||
* Change Plex notifications to allow authenticated library updates (port from mmccurdy07/Sick-Beard)
|
* Change Plex notifications to allow authenticated library updates (port from mmccurdy07/Sick-Beard)
|
||||||
* Change Config/Notifications/Plex logo and description (adapted port from mmccurdy07/Sick-Beard)
|
* Change Config/Notifications/Plex logo and description (adapted port from mmccurdy07/Sick-Beard)
|
||||||
|
* Add ability for CSS/JS to target a specific page and layout
|
||||||
|
|
||||||
[develop changelog]
|
[develop changelog]
|
||||||
|
|
||||||
|
|
||||||
### 0.4.0 (2014-11-27 03:30:00 UTC)
|
### 0.4.0 (2014-12-04 10:50:00 UTC)
|
||||||
|
|
||||||
* Change footer stats to not add newlines when copy/pasting from them
|
* Change footer stats to not add newlines when copy/pasting from them
|
||||||
* Remove redundant references from Config/Help & Info
|
* Remove redundant references from Config/Help & Info
|
||||||
|
|
|
@ -252,5 +252,17 @@
|
||||||
</div>
|
</div>
|
||||||
#end if
|
#end if
|
||||||
|
|
||||||
|
#set $items = []
|
||||||
|
#try
|
||||||
|
$items.append($topmenu)
|
||||||
|
#except (NameError, NotFound):
|
||||||
|
#pass
|
||||||
|
#end try
|
||||||
|
#try
|
||||||
|
$items.append($layout)
|
||||||
|
#except (NameError, NotFound):
|
||||||
|
#pass
|
||||||
|
#end try
|
||||||
|
#set $page_class = ('', ' class="%s"' % '_'.join($items).lower().replace(' ', '-'))[0 < len($items)]
|
||||||
<div id="contentWrapper">
|
<div id="contentWrapper">
|
||||||
<div id="content">
|
<div id="content"$page_class>
|
||||||
|
|
Loading…
Reference in a new issue