~openerp-dev/openobject-addons/trunk-twitter-wall-vme

« back to all changes in this revision

Viewing changes to website_twitter_wall/static/src/xml/website_twitter_wall.xml

  • Committer: Ajay Patel(OpenERP)
  • Date: 2014-06-03 08:15:08 UTC
  • Revision ID: apa@tinyerp.com-20140603081508-vn6500cqvpxhmoee
[IMP]change TwitterWall frontview.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<template>
3
3
    <t t-name="twitter_tweets" name="res">
4
4
        <div class="col-md-12 oe_tweets">
 
5
            <div class="col-md-1 oe_padding">
 
6
                <img class="img-rounded oe_profile_image" t-att-src="res.user_image_url"></img>
 
7
            </div>
 
8
            <div class="col-md-11 oe_padding">
 
9
                <div>
 
10
                    <b><t t-raw="res.name"/></b>
 
11
                    <small>@<t t-raw="res.screen_name"/></small>
 
12
                    <span class="oe_formated_date pull-right"><t t-raw="res.created_at_formated_date"></t></span>
 
13
                </div>
 
14
                <div>
 
15
                    <p style="font-size:20px"><t t-raw="res.tweet"></t></p>
 
16
                </div>
 
17
                <div t-if="res.tweet_media_ids" class="text-center">
 
18
                    <t t-foreach="res.tweet_media_ids" t-as="res_media">
 
19
                        <img t-attf-src="#{res_media.media_url}:medium" style="width:350px;height:350px"></img>
 
20
                    </t>
 
21
                </div>
 
22
            </div>
 
23
        </div>
 
24
        <!-- <div class="row-fluid oe_tweets">
5
25
            <div class="col-md-12">
6
26
                <div class="col-md-1 oe_padding">
7
27
                    <img class="img-rounded oe_profile_image" t-att-src="res.user_image_url"></img>
8
28
                </div>
9
 
                <div class="col-md-5 oe_padding">
10
 
                    <small><h3 class="oe_user_name"><strong><t t-raw="res.name"></t></strong></h3></small>
11
 
                    <h4 class="oe_user_scr_name"><strong>@<t t-raw="res.screen_name"></t></strong></h4>
12
 
                </div>
13
 
                <div class="col-md-4 pull-right">
14
 
                    <h4 class="pull-right"><label class="oe_formated_date"><t t-raw="res.created_at_formated_date"></t></label></h4>
15
 
                </div>
16
 
            </div>
17
 
            <div class="col-md-12 oe_tweet_div">
18
 
                <div class="oe_tweet_text_div">
 
29
                <div class="col-md-11 oe_padding">
 
30
                    <div class="oe_user_name">
 
31
                        <h4><t t-raw="res.name"/>
 
32
                        <small class="text-muted">@<t t-raw="res.screen_name"/></small>
 
33
                        <span class="oe_formated_date pull-right text-muted"><t t-raw="res.created_at_formated_date"></t></span>
 
34
                        </h4>
 
35
                    </div>
19
36
                    <h3 class="oe_tweet_text"><t t-raw="res.tweet"></t></h3>
20
 
                </div>
21
 
                <div t-if="res.tweet_media_ids" class="oe_media_image_div">
22
 
                    <t t-foreach="res.tweet_media_ids" t-as="res_media">
23
 
                        <img class="img-rounded" t-attf-src="#{res_media.media_url}:thumb"></img>
24
 
                    </t>
 
37
                    <div t-if="res.tweet_media_ids">
 
38
                        <t t-foreach="res.tweet_media_ids" t-as="res_media">
 
39
                            <img class="img-rounded" t-attf-src="#{res_media.media_url}:medium"></img>
 
40
                        </t>
 
41
                    </div>
25
42
                </div>
26
43
            </div>
27
 
        </div>
 
44
        </div> -->
28
45
     </t>
29
46
     
30
47
     <t t-name="twitter_load_tweets">