bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rjol...@apache.org
Subject svn commit: r1457263 - /incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html
Date Sat, 16 Mar 2013 15:29:09 GMT
Author: rjollos
Date: Sat Mar 16 15:29:09 2013
New Revision: 1457263

URL: http://svn.apache.org/r1457263
Log:
Refs #454: Added attachment section to the milestone view page.

Modified:
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html?rev=1457263&r1=1457262&r2=1457263&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html Sat
Mar 16 15:29:09 2013
@@ -118,6 +118,12 @@
     <title>Milestone ${milestone.name}</title>
     <link py:if="'MILESTONE_MODIFY' in perm(milestone.resource)" rel="alternate" type="application/x-wiki"
           title="Edit this milestone" href="${href.milestone(milestone.name, action='edit')}"
/>
+    <script type="text/javascript">
+      jQuery(document).ready(function($) {
+        $("#content").find("h1,h2,h3,h4,h5,h6").addAnchor("Link to this section");
+        $(".foldable").enableFolding(true, true);
+      });
+    </script>
   </head>
   <body>
     <div id="content" class="row milestone">
@@ -126,6 +132,10 @@
               progress_data = {'stats' : stats, 'interval_hrefs' : interval_hrefs};
               description = wiki_to_html(context, milestone.description);
               widgets = milestone_widgets();" />
+      <div class="span12">
+        <xi:include href="bh_list_of_attachments.html"
+                    py:with="alist = attachments; compact = True; foldable = True"/>
+      </div>
     </div>
   </body>
 



Mime
View raw message