[DHG_packages] 01/02: Fix links to jquery.
Giovanni Mascellani
gio at moszumanska.debian.org
Tue May 3 20:07:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
gio pushed a commit to annotated tag gitit_v0.12.1-2
in repository DHG_packages.
commit 95d1f22e852310bf72f9f708ade54e4700988c70
Author: Giovanni Mascellani <gio at debian.org>
Date: Tue May 3 21:45:49 2016 +0200
Fix links to jquery.
---
p/gitit/debian/libghc-gitit-data.linktrees | 10 ++++------
p/gitit/debian/patches/jquery.patch | 14 +++++++++++++-
2 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/p/gitit/debian/libghc-gitit-data.linktrees b/p/gitit/debian/libghc-gitit-data.linktrees
index ad1a04c..039e23d 100644
--- a/p/gitit/debian/libghc-gitit-data.linktrees
+++ b/p/gitit/debian/libghc-gitit-data.linktrees
@@ -1,6 +1,4 @@
-embed usr/share/javascript/jquery/jquery.js usr/share/gitit/data/static/js/jquery.js
-embed usr/share/javascript/jquery-ui/ui/jquery.ui.core.js usr/share/gitit/data/static/js/jquery.ui.core.js
-embed usr/share/javascript/jquery-ui/ui/jquery.ui.droppable.js usr/share/gitit/data/static/js/jquery.ui.droppable.js
-embed usr/share/javascript/jquery-ui/ui/jquery.ui.draggable.js usr/share/gitit/data/static/js/jquery.ui.draggable.js
-embed usr/share/javascript/jquery-ui/ui/jquery.ui.tabs.js usr/share/gitit/data/static/js/jquery.ui.tabs.js
-embed usr/share/javascript/jquery-hotkeys/jquery.hotkeys.js usr/share/gitit/data/static/js/jquery.hotkeys.js
+embed /usr/share/javascript/jquery/jquery.min.js usr/share/gitit/data/static/js/jquery.min.js
+embed /usr/share/javascript/jquery-ui/jquery-ui.min.js usr/share/gitit/data/static/js/jquery-ui.min.js
+embed /usr/share/javascript/jquery-ui/css/smoothness/jquery-ui.min.css usr/share/gitit/data/static/css/jquery-ui.min.css
+embed /usr/share/javascript/jquery-hotkeys/jquery.hotkeys.js usr/share/gitit/data/static/js/jquery.hotkeys.js
diff --git a/p/gitit/debian/patches/jquery.patch b/p/gitit/debian/patches/jquery.patch
index 85c29b9..67b0344 100644
--- a/p/gitit/debian/patches/jquery.patch
+++ b/p/gitit/debian/patches/jquery.patch
@@ -18,7 +18,19 @@ Index: gitit/src/Network/Gitit/Layout.hs
_ -> base' ++ "/js/" ++ x
- scripts = ["jquery-1.2.6.min.js", "jquery-ui-combined-1.6rc2.min.js", "footnotes.js"] ++ pgScripts layout
-+ scripts = ["jquery.js", "jquery.ui.core.js", "jquery.ui.draggable.js", "jquery.ui.droppable.js", "jquery.ui.tabs.js", "footnotes.js"] ++ pgScripts layout
++ scripts = ["jquery.min.js", "jquery-ui.min.js", "footnotes.js"] ++ pgScripts layout
scriptLink x = script ! [src (prefixedScript x),
thetype "text/javascript"] << noHtml
javascriptlinks = renderHtmlFragment $ concatHtml $ map scriptLink scripts
+Index: gitit/data/templates/page.st
+===================================================================
+--- gitit.orig/data/templates/page.st
++++ gitit/data/templates/page.st
+@@ -9,6 +9,7 @@
+ <link href="$base$/_feed$pageUrl$" type="application/atom+xml" rel="alternate" title="$wikititle$ - $pagetitle$" />
+ $endif$
+ <title>$wikititle$ - $pagetitle$</title>
++ <link href="$base$/css/jquery-ui.min.css" rel="stylesheet" media="print" type= "text/css" />
+ $if(printable)$
+ <link href="$base$/css/print.css" rel="stylesheet" media="all" type= "text/css" />
+ $else$
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git
More information about the Pkg-haskell-commits
mailing list