Commit a709d18d authored by Łukasz Nowak's avatar Łukasz Nowak

Make explanation controlable.

parent a1c7afcf
......@@ -46,8 +46,6 @@
<tal:block metal:fill-slot="main">\n
<div class="content">\n
<h1 i18n:translate="" i18n:domain="ui">Software Management</h1>\n
<p>Use search and categories on left in order to filter Software Releases.\n
<p>It is possible to install Software Release on your computers or request new instance of selected software.\n
<div id="js_container"></div>\n
<script type="text/javascript">\n
$(document).ready(function() {\n
......
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts22844544.4</string> </value>
<value> <string>ts23075738.6</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -245,6 +245,9 @@ function searchSoftwareReleaseList(event) {\n
function softwareReleaseController(query, software_category, page) {\n
js_container = $("#js_container");\n
js_container.empty();\n
var explanation = $(\'<p>\');\n
explanation.text(\'Use search and categories on left in order to filter Software Releases. It is possible to install Software Release on your computers or request new instance of selected software.\');\n
js_container.append(explanation);\n
var search_div = $(\'<div>\');\n
js_container.append(search_div);\n
search_div.addClass(\'software_release_search\');\n
......@@ -372,7 +375,7 @@ function hashController ()\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>11184</int> </value>
<value> <int>11452</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment