[Server-devel] [xs-activity-server] Fix html output
Daniel Drake
dsd at laptop.org
Fri Feb 13 14:06:36 EST 2009
The HTML output by the activity server is not understood by the sugar
activity updater because the URL link is not nested inside the span.
---
templates/DEFAULT/activity | 2 +-
templates/es/activity | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/DEFAULT/activity b/templates/DEFAULT/activity
index 0516776..b600053 100644
--- a/templates/DEFAULT/activity
+++ b/templates/DEFAULT/activity
@@ -4,7 +4,7 @@
<ul>
<li>Identifier: <span class="olpc-activity-id">%(bundle_id)s</span></li>
<li>Version: <span class="olpc-activity-version">%(activity_version)s</span></li>
- <li>URL: <a href="%(bundle_url)s"><span class="olpc-activity-url">%(bundle_url)s</span></a></li>
+ <li>URL: <span class="olpc-activity-url"><a href="%(bundle_url)s">%(bundle_url)s</a></span></li>
<li style="display: %(show_older_versions)s">Older versions: %(older_versions)s</li>
</ul>
</div>
diff --git a/templates/es/activity b/templates/es/activity
index ff05253..37c99a5 100644
--- a/templates/es/activity
+++ b/templates/es/activity
@@ -4,7 +4,7 @@
<ul>
<li>Identificador: <span class="olpc-activity-id">%(bundle_id)s</span></li>
<li>Versión: <span class="olpc-activity-version">%(activity_version)s</span></li>
- <li>URL: <a href="%(bundle_url)s"><span class="olpc-activity-url">%(bundle_url)s</span></a></li>
+ <li>URL: <span class="olpc-activity-url"><a href="%(bundle_url)s">%(bundle_url)s</a></span></li>
<li style="display: %(show_older_versions)s">Versiones anteriores: %(older_versions)s</li>
</ul>
</div>
--
1.6.1.3
More information about the Server-devel
mailing list