source: products/SimpleBlog/branches/plone-2.1-Blogging-APIs/skins/SimpleBlog/blogentry_view.pt @ 3665

Last change on this file since 3665 was 1, checked in by myroslav, 18 years ago

Building directory structure

File size: 3.3 KB
Line 
1<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
2      lang="en"
3      metal:use-macro="here/main_template/macros/master"
4      i18n:domain="SimpleBlog">
5
6    <metal:css fill-slot="css_slot">
7        <link rel="stylesheet" type="text/css" media="screen" href="" tal:attributes="href string:$portal_url/SimpleBlogCSS.css" />
8    </metal:css>
9
10<body>
11<div metal:fill-slot="main">
12    <tal:main-macro metal:define-macro="main"
13                 tal:define="standardButtons
14                 python:here.simpleblog_tool.getShowStandardButtons();">
15        <tal:block tal:define="obj python:here">
16
17       
18        <div metal:define-macro="full" tal:define="showReadMore python:0">
19       
20            <tal:block tal:define="size headerSize | python:1;title obj/title_or_id">
21                <h1 class="noMargin">
22                  <img src="#" tal:attributes="src string:${here/portal_url}/${here/getIcon};alt title" />
23                  <span tal:replace="title"/>
24                </h1>
25        </tal:block>
26   
27            <div metal:use-macro="here/document_actions/macros/document_actions">
28                Document actions (print, sendto etc)
29            </div>
30           
31            <div class="documentDescription description" tal:content="structure python:obj.Description()">
32                description
33            </div>
34            <div style="float:left;"
35                 tal:condition="here/getEnableTopAdsence">
36                <div tal:define="adsence here/getTopAdsence;"
37                     tal:replace="structure python:path('/here/'+adsence)"
38                     tal:on-error="string: "></div></div>
39            <div tal:replace="structure python:obj.getBody()" />
40                        <div style="float:left;"
41                 tal:condition="here/getEnableBottomAdsence">
42                <div tal:define="adsence here/getBottomAdsence;"
43                           tal:replace="structure python:path('/here/'+adsence)"
44                           tal:on-error="string: "></div></div><br/>
45                        <tal:tags metal:use-macro="obj/SimpleBlog_macros/macros/technoratiTags"/>
46                        <tal:byLine metal:use-macro="obj/SimpleBlog_macros/macros/ByLineFoot"/>
47            <div tal:define="batch here/getTrackbacks"
48                             tal:condition="batch"
49                             id="trackbacks" class="field">
50                           <h3>Trackbacks</h3>
51                           <a href="#trackbacks"></a>
52                           <div>
53                               <tal:block tal:repeat="entry batch">
54                                  <dt><a href="#"
55                                         tal:content="entry/Title"
56                                         tal:attributes="href entry/getUrl">Title</a></dt>
57                                  <dd tal:content="entry/getExcerpt"></dd>
58                               </tal:block>
59                           </div>
60                        </div>
61            <tal:commandline tal:condition="python:here.portal_type!='BlogEntry'">
62                <div metal:use-macro="obj/SimpleBlog_macros/macros/commandLine"/>
63                <div metal:use-macro="obj/SimpleBlog_macros/macros/commandLineNonStandard"/>
64            </tal:commandline>
65        </div>
66                <a href="#comments"></a>           
67        </tal:block>
68    </tal:main-macro>           
69</div>
70
71</body>
72
73</html>
Note: See TracBrowser for help on using the repository browser.