[rhythmbox] context: remove read more/read less
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] context: remove read more/read less
- Date: Sun, 21 Apr 2013 08:45:17 +0000 (UTC)
commit b6e722edba55a7f2d6a122f6a2a326392924021b
Author: Jonathan Matthew <jonathan d14n org>
Date: Sun Apr 21 09:38:42 2013 +1000
context: remove read more/read less
As far as I can tell the only difference between the full bio
and the summary is that the full bio contains a licensing statement.
plugins/context/tmpl/artist-tmpl.html | 19 -------------------
1 file changed, 19 deletions(-)
---
diff --git a/plugins/context/tmpl/artist-tmpl.html b/plugins/context/tmpl/artist-tmpl.html
index b559b7b..4ae17d5 100644
--- a/plugins/context/tmpl/artist-tmpl.html
+++ b/plugins/context/tmpl/artist-tmpl.html
@@ -15,12 +15,6 @@
<head>
<meta http-equiv="content-type" content="text-html; charset=utf-8">
<link rel="stylesheet" href="${stylesheet}" type="text/css" />
-<script language="javascript">
- function swapClass (element, klass1, klass2) {
- elt = document.getElementById(element);
- elt.className = (elt.className == klass1) ? klass2 : klass1;
- }
-</script>
</head>
<body class="artist">
%if error is None:
@@ -28,21 +22,8 @@
<img src="${image | h}" />
<div id="shortbio" class="shown">
<% shortbio = cleanup(shortbio) %>
-<button name="more" onclick="swapClass('shortbio', 'shown', 'hidden');swapClass('fullbio', 'shown',
'hidden')" />
-${ _("Read more") }
-</button>
<p>${shortbio}</p>
</div>
-<div id="fullbio" class="hidden">
-<% fullbio = cleanup(fullbio) %>
-<button name="more" onclick="swapClass('shortbio', 'shown', 'hidden');swapClass('fullbio', 'shown',
'hidden')" />
-${ _("Read less") }
-</button>
-<p>${fullbio}</p>
-<button name="more" onclick="swapClass('shortbio', 'shown', 'hidden');swapClass('fullbio', 'shown',
'hidden')" />
-${ _("Read less") }
-</button>
-</div>
<p>${datasource}</p>
%else:
<h1>${ _("Unable to retrieve artist information:") }</h1>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]