source: products/SimpleBlog/branches/plone-2.1/skins/SimpleBlog/blogentry_view.pt @ 199

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

Building directory structure

File size: 2.6 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 tal:replace="structure python:obj.getBody()" /><br/>
35                        <tal:tags metal:use-macro="obj/SimpleBlog_macros/macros/technoratiTags"/>
36                        <tal:byLine metal:use-macro="obj/SimpleBlog_macros/macros/ByLineFoot"/>
37                        <div tal:define="batch here/getTrackbacks"
38                             tal:condition="batch"
39                             id="trackbacks" class="field">
40                           <h3>Trackbacks</h3>
41                           <a href="#trackbacks"></a>
42                           <div>
43                               <tal:block tal:repeat="entry batch">
44                                  <dt><a href="#"
45                                         tal:content="entry/Title"
46                                         tal:attributes="href entry/getUrl">Title</a></dt>
47                                  <dd tal:content="entry/getExcerpt"></dd>
48                               </tal:block>
49                           </div>
50                        </div>
51                        <tal:commandline tal:condition="python:here.portal_type!='BlogEntry'">
52                                <div metal:use-macro="obj/SimpleBlog_macros/macros/commandLine"/>
53                                <div metal:use-macro="obj/SimpleBlog_macros/macros/commandLineNonStandard"/>
54                        </tal:commandline>
55                </div>
56                <a href="#comments"></a>                       
57        </tal:block>
58    </tal:main-macro>           
59</div>
60
61</body>
62
63</html>
Note: See TracBrowser for help on using the repository browser.