/[smeserver]/rpms/smolt/sme8/smolt-1.4.3-mod_proxy.patch
ViewVC logotype

Contents of /rpms/smolt/sme8/smolt-1.4.3-mod_proxy.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Mar 6 22:19:42 2010 UTC (14 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
* Sat Feb 6 2010 Shad L. Lords <slords@mail.com> 1.4.2-5.sme
- Fix links so they work with mod_proxy

1 diff -up smolt-1.4.3/smoon/hardware/templates/report_device_ratings.html.mod_proxy smolt-1.4.3/smoon/hardware/templates/report_device_ratings.html
2 --- smolt-1.4.3/smoon/hardware/templates/report_device_ratings.html.mod_proxy 2010-02-27 12:05:44.000000000 -0700
3 +++ smolt-1.4.3/smoon/hardware/templates/report_device_ratings.html 2010-03-06 15:07:03.000000000 -0700
4 @@ -23,7 +23,7 @@
5 <tr><th>${_("Rating")}</th><th>${_("Device Name")}</th><th>${_("Ratings")}</th></tr>
6 <tr py:for="device in device_ratings">
7 <td><img src="/static/images/rating/r${device.rating}.png"/></td>
8 - <td><a href='/reports/view_device/${device.description.replace("/", "%2F")}'>${device.description}</a></td>
9 + <td><a href='/reports/view_device/?device=${device.description.replace("/", "%2F")}'>${device.description}</a></td>
10 <td>${device[2]}</td>
11 </tr>
12 </table>
13 diff -up smolt-1.4.3/smoon/hardware/templates/report_recent.html.mod_proxy smolt-1.4.3/smoon/hardware/templates/report_recent.html
14 --- smolt-1.4.3/smoon/hardware/templates/report_recent.html.mod_proxy 2010-02-27 12:05:44.000000000 -0700
15 +++ smolt-1.4.3/smoon/hardware/templates/report_recent.html 2010-03-06 15:01:35.000000000 -0700
16 @@ -24,7 +24,7 @@
17 <table>
18 <tr><th>${_('Description')}</th><th>${_('Date Added')}</th></tr>
19 <tr py:for="devices in recent_devices">
20 - <td><a href='/reports/view_device/${devices.description}'>${devices.description}</a></td>
21 + <td><a href='/reports/view_device/?device=${devices.description.replace("/", "%2F")}'>${devices.description}</a></td>
22 <td>${devices.date_added}</td>
23 </tr>
24 </table>
25 diff -up smolt-1.4.3/smoon/hardware/templates/report_view_device.html.mod_proxy smolt-1.4.3/smoon/hardware/templates/report_view_device.html
26 --- smolt-1.4.3/smoon/hardware/templates/report_view_device.html.mod_proxy 2010-02-27 12:05:44.000000000 -0700
27 +++ smolt-1.4.3/smoon/hardware/templates/report_view_device.html 2010-03-06 15:01:59.000000000 -0700
28 @@ -28,7 +28,7 @@
29 <table>
30 <tr><th>${_("Description")}</th><th>${_("Rating")}</th><th>${_("Rating Count")}</th><th>${_("Vendor:Device:Subvend:Subdevice")}</th></tr>
31 <tr py:for="device in found">
32 - <td><a href='/reports/view_device/${device.description.replace("/", "%2F")}'>${device.description}</a></td>
33 + <td><a href='/reports/view_device/?device=${device.description.replace("/", "%2F")}'>${device.description}</a></td>
34 <td><img src="/static/images/rating/r${device.rating}.png"/></td>
35 <td>${device[1]}</td>
36 <td>${device.vendor_id}:${device.device_id}:${device.subsys_vendor_id}:${device.subsys_device_id}</td>
37 diff -up smolt-1.4.3/smoon/hardware/templates/report_view_devices.html.mod_proxy smolt-1.4.3/smoon/hardware/templates/report_view_devices.html
38 --- smolt-1.4.3/smoon/hardware/templates/report_view_devices.html.mod_proxy 2010-02-27 12:05:44.000000000 -0700
39 +++ smolt-1.4.3/smoon/hardware/templates/report_view_devices.html 2010-03-06 15:09:32.000000000 -0700
40 @@ -27,7 +27,7 @@
41 <table>
42 <tr><th>${_("Description")}</th><th>${_("Rating")}</th><th>${_("Rating Count")}</th></tr>
43 <tr py:for="device in found">
44 - <td><a href='/reports/view_device/${device.description.replace("/", "%2F")}'>${device.description}</a></td>
45 + <td><a href='/reports/view_device/?device=${device.description.replace("/", "%2F")}'>${device.description}</a></td>
46 <td><img src="/static/images/rating/r${device.rating}.png"/></td>
47 <td>${device[1]}</td>
48 </tr>
49 diff -up smolt-1.4.3/smoon/hardware/templates/show.html.mod_proxy smolt-1.4.3/smoon/hardware/templates/show.html
50 --- smolt-1.4.3/smoon/hardware/templates/show.html.mod_proxy 2010-02-27 12:05:44.000000000 -0700
51 +++ smolt-1.4.3/smoon/hardware/templates/show.html 2010-03-06 15:05:07.000000000 -0700
52 @@ -64,7 +64,7 @@ ${ET(ratingwidget.display(update="rating
53 <div py:if="not admin"><img src="/static/images/rating/r${device.get('rating')}.png"/></div>
54 <div py:if="admin" class="rating" id="Host${host_object.uuid}@Device${device.get('id')}">${device.get('rating')}</div>
55 </td>
56 - <td><a href="/reports/view_device/${device.description}">${device.get('name')}</a> (<a href="${device.get('link')}">${_("wiki")}</a>)</td>
57 + <td><a href="/reports/view_device/?device=${device.description}">${device.get('name')}</a> (<a href="${device.get('link')}">${_("wiki")}</a>)</td>
58 <td align='center'>${device.get('cls')}</td>
59 </tr>
60 </table>

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed