r848: Template changes
[bugdar.git] / docs / template_changes.txt
1 TEMPLATE CHANGES
2 ==========================
3
4 ###################################################################
5 showreport.tpl (fixes highlighting of <title> tag http://bugs.iris-studios.com/showreport.php?bugid=21):
6 -------------------------------------------------------------------
7 Index: templates/showreport.tpl
8 ===================================================================
9 --- templates/showreport.tpl (revision 769)
10 +++ templates/showreport.tpl (working copy)
11 @@ -5,7 +5,7 @@
12 <link rel="stylesheet" href="templates/report.css" media="screen" />
13 <link rel="stylesheet" href="templates/fields.css" media="screen" />
14 <link rel="stylesheet" href="templates/box.css" media="screen" />
15 - <title><lang 1="$bug[bugid]">{@"Bug Report %1$s"}</lang> - $bug[summary]</title>
16 + <title><lang 1="$bug[bugid]">{@"Bug Report %1$s"}</lang> - $bug[summary_title]</title>
17 </head>
18
19 <body>
20 ###################################################################
21
22 ###################################################################
23 newreport.tpl, search.tpl, showreport.tpl, global.css, report.css (renames #clear-spill and makes it a class, not an id):
24 -------------------------------------------------------------------
25 Index: templates/newreport.tpl
26 ===================================================================
27 --- templates/newreport.tpl (revision 829)
28 +++ templates/newreport.tpl (working copy)
29 @@ -103,7 +103,7 @@
30 <!-- / RIGHT COLUMN -->
31 </div>
32
33 -<div id="clear-spill"></div>
34 +<div class="clearspill"></div>
35
36 <!-- new reply -->
37 <div>
38 Index: templates/search.tpl
39 ===================================================================
40 --- templates/search.tpl (revision 829)
41 +++ templates/search.tpl (working copy)
42 @@ -155,7 +155,7 @@
43 <!-- / RIGHT COLUMN -->
44 </div>
45
46 -<div id="clear-spill"></div>
47 +<div class="clearspill"></div>
48
49 <div id="submitrow">
50 <input type="submit" name="submit" value=" {@"Search Reports"} " accesskey="s" />
51 Index: templates/showreport.tpl
52 ===================================================================
53 --- templates/showreport.tpl (revision 829)
54 +++ templates/showreport.tpl (working copy)
55 @@ -185,7 +185,7 @@
56 <!-- / RIGHT COLUMN -->
57 </div>
58
59 -<div id="clear-spill"></div>
60 +<div class="clearspill"></div>
61
62 <br />
63
64 Index: templates/global.css
65 ===================================================================
66 --- templates/global.css (revision 829)
67 +++ templates/global.css (working copy)
68 @@ -141,6 +141,11 @@
69 text-align: center;
70 }
71
72 +.clearspill
73 +{
74 + clear: both;
75 +}
76 +
77 /*=====================================================================*\
78 || ###################################################################
79 || # $HeadURL$
80 Index: templates/report.css
81 ===================================================================
82 --- templates/report.css (revision 829)
83 +++ templates/report.css (working copy)
84 @@ -36,12 +36,6 @@
85 margin-left: 50%;
86 }
87
88 -/* if we get overflow, this will block so we don't get spill */
89 -#clear-spill
90 -{
91 - clear: both;
92 -}
93 -
94 ###################################################################
95
96 ###################################################################
97 showreport.tpl (add a clearspill div to prevent attachment list overflow):
98 -------------------------------------------------------------------
99 Index: templates/showreport.tpl
100 ===================================================================
101 --- templates/showreport.tpl (revision 834)
102 +++ templates/showreport.tpl (working copy)
103 @@ -258,6 +258,8 @@
104 </div>
105 <!-- / attachments & voting -->
106
107 +<div class="clearspill"></div>
108 +
109 <br />
110
111 $comments
112 ###################################################################
113
114 ###################################################################
115 trackerhome_bits.tpl (changed the index of the username of the reporter):
116 -------------------------------------------------------------------
117 Index: templates/trackerhome_bits.tpl
118 ===================================================================
119 --- templates/trackerhome_bits.tpl (revision 844)
120 +++ templates/trackerhome_bits.tpl (revision 843)
121 @@ -4,7 +4,7 @@
122 <td>$bug[bugid]</td>
123 <td>
124 <div><a href="showreport.php?bugid=$bug[bugid]$bug[urladd]">$bug[summary]</a></div>
125 - <if condition="$bug['username']"><div>$bug[username]</div></if>
126 + <if condition="$bug['firstreport']"><div>$bug[firstreport]</div></if>
127 </td>
128 <td>
129 <div>$bug[product]</div>
130 ###################################################################
131
132 ###################################################################
133 global.css (make the font size slightly bigger and more readable)
134 -------------------------------------------------------------------
135 Index: templates/global.css
136 ===================================================================
137 --- templates/global.css (revision 843)
138 +++ templates/global.css (working copy)
139 @@ -23,7 +23,7 @@
140 margin: 0px;
141 padding: 0px;
142 font-family: Verdana, Tahoma, Geneva, "Lucida Grande", Arial, sans-serif;
143 - font-size: 11px;
144 + font-size: 12px;
145 background-color: rgb(102, 102, 102);
146 }
147 ###################################################################