summaryrefslogtreecommitdiffstats
path: root/forum/skins/default/templates/base.html
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-04-25 17:15:26 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-04-25 17:15:26 -0400
commitcc8337da9046bff5243672e20f1dea9c18b00da6 (patch)
tree77ade69869105f1838df5e8616bb994844507cec /forum/skins/default/templates/base.html
parent3122fb8a2599944e623c8e21f285a9e4dd9e132a (diff)
parent02510a462392dd2e9e46e945d51efb374e0dc06f (diff)
downloadaskbot-cc8337da9046bff5243672e20f1dea9c18b00da6.tar.gz
askbot-cc8337da9046bff5243672e20f1dea9c18b00da6.tar.bz2
askbot-cc8337da9046bff5243672e20f1dea9c18b00da6.zip
merged newer ui branch to master
Diffstat (limited to 'forum/skins/default/templates/base.html')
-rw-r--r--forum/skins/default/templates/base.html16
1 files changed, 15 insertions, 1 deletions
diff --git a/forum/skins/default/templates/base.html b/forum/skins/default/templates/base.html
index 1018da50..0b85e7fb 100644
--- a/forum/skins/default/templates/base.html
+++ b/forum/skins/default/templates/base.html
@@ -2,6 +2,7 @@
<!-- template base.html -->
{% load extra_filters %}
{% load extra_tags %}
+{% load smart_if %}
{% load i18n %}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
@@ -36,7 +37,19 @@
});
</script>
{% endif %}
-
+ {% if active_tab != "tags" and active_tab != "users" %}
+ <script type="text/javascript">
+ $('#nav_ask').click(
+ function(){
+ alert('hullo');
+ var starting_title = $('#keywords').attr('value');
+ alert('tittle is ' + starting_title);
+ window.location.href = $(this).attr('href') + '?'
+ + starting_title;
+ }
+ );
+ </script>
+ {% endif %}
{% block forejs %}
{% endblock %}
</head>
@@ -55,6 +68,7 @@
<div id="wrapper">
<div id="room">
<div id="CALeft">
+ {% include "input_bar.html" %}
{% block content%}
{% endblock%}