[IMP] Tags on discussions and links
authorFabien Pinckaers <fp@openerp.com>
Tue, 2 Dec 2014 13:04:28 +0000 (14:04 +0100)
committerFabien Pinckaers <fp@openerp.com>
Tue, 2 Dec 2014 13:04:28 +0000 (14:04 +0100)
addons/website_forum/static/src/css/website_forum.css
addons/website_forum/static/src/css/website_forum.sass
addons/website_forum/views/website_forum.xml

index 0e153f7..79fd7dd 100644 (file)
@@ -59,9 +59,6 @@ img.img-avatar {
 .forum_favourite_question {
   color: #ffcc00 !important; }
 
-.load_tags {
-  width: 845px !important; }
-
 a.no-decoration {
   cursor: pointer;
   text-decoration: none !important; }
index cd37847..8ade749 100644 (file)
@@ -61,9 +61,6 @@ img.img-avatar
 .forum_favourite_question
   color: #ffcc00 !important
 
-.load_tags
-  width: 845px !important
-
 a.no-decoration
   cursor: pointer
   text-decoration: none !important
index 12c89e6..dedeb59 100644 (file)
             <div class="form-group">
                 <label class="col-sm-2 control-label" for="post_tags">Tags</label>
                 <div class="col-sm-8">
-                    <input type="text" name="post_tags" readonly="True" class="form-control load_tags"/>
+                    <input type="text" name="post_tags" readonly="True" class="form-control js_select2"/>
                 </div>
             </div>
             <div class="form-group">
 <!-- Edition: Post your Discussion Topic -->
 <template id="new_discussion">
     <t t-call="website_forum.header">
-        <h1 class="mt0">Post Your Discussion Topic</h1>
+        <h1 class="mt0">New Topic</h1>
         <p>
-            <b>Share</b> Start Something Awesome
+            <b>Share</b> Something Awesome.
         </p>
         <form t-attf-action="/forum/#{slug(forum)}/new?post_type=discussion" method="post" role="form" class="tag_text">
             <input type="text" name="post_name" required="True" t-attf-value="#{post_name}"
                 <t t-esc="question_content"/>
             </textarea>
             <br/>
-            <input type="text" name="post_tags" placeholder="Tags" class="form-control load_tags"/>
+            <input type="text" name="post_tags" placeholder="Tags" class="form-control js_select2"/>
             <br/><br/>
             <button class="btn btn-primary">Post Your Topic</button>
         </form>