-3 Removals
+3 Additions

Created by:phpboost

1<script src="https://www.google.com/jsapi"></script> 1<script src="https://www.google.com/jsapi"></script>
2<script> 2<script>
3 google.load("visualization", "1", {packages:["corechart"]}); 3 google.load("visualization", "1", {packages:["corechart"]});
4 google.setOnLoadCallback(drawChart); 4 google.setOnLoadCallback(drawChart);
5 function drawChart() { 5 function drawChart() {
6 var status_chart_data = google.visualization.arrayToDataTable([ 6 var status_chart_data = google.visualization.arrayToDataTable([
7 ['{@labels.fields.status}', ${TextHelper::to_js_string(LangLoader::get_message('items_number', 'common'))}], 7 ['{@labels.fields.status}', ${TextHelper::to_js_string(LangLoader::get_message('items_number', 'common'))}],
8 # START status # 8 # START status #
9 ['{status.NAME}', {status.NUMBER}], 9 ['{status.NAME}', {status.NUMBER}],
10 # END status # 10 # END status #
11 ]); 11 ]);
12 12
13 var status_chart_options = { 13 var status_chart_options = {
14 title: '', 14 title: '',
15 is3D: 'true', 15 is3D: 'true',
16 pieSliceText: 'none' 16 pieSliceText: 'none'
17 }; 17 };
18 18
19 var status_chart = new google.visualization.PieChart(document.getElementById('status-chart')); 19 var status_chart = new google.visualization.PieChart(document.getElementById('status-chart'));
20 status_chart.draw(status_chart_data, status_chart_options); 20 status_chart.draw(status_chart_data, status_chart_options);
21 } 21 }
22</script> 22</script>
23 23
24<div class="spacer"></div> 24<div class="spacer"></div>
25 25
26<section class="block"> 26<section class="block">
27 <header> 27 <header>
28 <h1>{@labels.fields.status}</h1> 28 <h1>{@labels.fields.status}</h1>
29 </header> 29 </header>
30 <div class="content"> 30 <div class="content">
31 <div class="center"> 31 <div class="center">
32 # IF C_BUGS # 32 # IF C_BUGS #
33 <div id="status-chart"></div> 33 <div id="status-chart"></div>
34 # ELSE # 34 # ELSE #
35 <div class="notice">{@notice.no_bug}</div> 35 <div class="message-helper notice">{@notice.no_bug}</div>
36 # ENDIF # 36 # ENDIF #
37 </div> 37 </div>
38 </div> 38 </div>
39</section> 39</section>
40 40
41<div class="spacer"></div> 41<div class="spacer"></div>
42 42
43# IF C_DISPLAY_VERSIONS # 43# IF C_DISPLAY_VERSIONS #
44<section class="block"> 44<section class="block">
45 <header> 45 <header>
46 <h1>{@labels.fix_bugs_per_version}</h1> 46 <h1>{@labels.fix_bugs_per_version}</h1>
47 </header> 47 </header>
48 <div class="content"> 48 <div class="content">
49 # IF C_FIXED_BUGS # 49 # IF C_FIXED_BUGS #
50 <table id="table"> 50 <table id="table">
51 <thead> 51 <thead>
52 <tr> 52 <tr>
53 <th> 53 <th>
54 {@labels.fields.version} 54 {@labels.fields.version}
55 </th> 55 </th>
56 <th> 56 <th>
57 {@labels.fields.version_release_date} 57 {@labels.fields.version_release_date}
58 </th> 58 </th>
59 <th> 59 <th>
60 {@labels.number_fixed} 60 {@labels.number_fixed}
61 </th> 61 </th>
62 </tr> 62 </tr>
63 </thead> 63 </thead>
64 <tbody> 64 <tbody>
65 # START fixed_version # 65 # START fixed_version #
66 <tr> 66 <tr>
67 <td> 67 <td>
68 {fixed_version.NAME} 68 {fixed_version.NAME}
69 </td> 69 </td>
70 <td> 70 <td>
71 {fixed_version.RELEASE_DATE} 71 {fixed_version.RELEASE_DATE}
72 </td> 72 </td>
73 <td> 73 <td>
74 # IF C_ROADMAP_ENABLED #<a href="{fixed_version.LINK_VERSION_ROADMAP}">{fixed_version.NUMBER}</a># ELSE #{fixed_version.NUMBER}# ENDIF # 74 # IF C_ROADMAP_ENABLED #<a href="{fixed_version.LINK_VERSION_ROADMAP}">{fixed_version.NUMBER}</a># ELSE #{fixed_version.NUMBER}# ENDIF #
75 </td> 75 </td>
76 </tr> 76 </tr>
77 # END fixed_version # 77 # END fixed_version #
78 </tbody> 78 </tbody>
79 </table> 79 </table>
80 # ELSE # 80 # ELSE #
81 <div class="notice">{@notice.no_bug_solved}</div> 81 <div class="message-helper notice">{@notice.no_bug_solved}</div>
82 # ENDIF # 82 # ENDIF #
83 </div> 83 </div>
84</section> 84</section>
85 85
86<div class="spacer"></div> 86<div class="spacer"></div>
87# ENDIF # 87# ENDIF #
88 88
89# IF C_DISPLAY_TOP_POSTERS # 89# IF C_DISPLAY_TOP_POSTERS #
90<section class="block"> 90<section class="block">
91 <header> 91 <header>
92 <h1>{@labels.top_posters}</h1> 92 <h1>{@labels.top_posters}</h1>
93 </header> 93 </header>
94 <div class="spacer"></div> 94 <div class="spacer"></div>
95 <div class="content"> 95 <div class="content">
96 # IF C_POSTERS # 96 # IF C_POSTERS #
97 <table id="table2"> 97 <table id="table2">
98 <thead> 98 <thead>
99 <tr> 99 <tr>
100 <th> 100 <th>
101 N&deg; 101 N&deg;
102 </th> 102 </th>
103 <th> 103 <th>
104 {@labels.login} 104 {@labels.login}
105 </th> 105 </th>
106 <th> 106 <th>
107 ${LangLoader::get_message('items_number', 'common')} 107 ${LangLoader::get_message('items_number', 'common')}
108 </th> 108 </th>
109 </tr> 109 </tr>
110 </thead> 110 </thead>
111 <tbody> 111 <tbody>
112 # START top_poster # 112 # START top_poster #
113 <tr> 113 <tr>
114 <td> 114 <td>
115 {top_poster.ID} 115 {top_poster.ID}
116 </td> 116 </td>
117 <td> 117 <td>
118 # IF top_poster.AUTHOR #<a href="{top_poster.LINK_AUTHOR_PROFILE}" class="{top_poster.AUTHOR_LEVEL_CLASS}" # IF top_poster.C_AUTHOR_GROUP_COLOR # style="color:{top_poster.AUTHOR_GROUP_COLOR}" # ENDIF #>{top_poster.AUTHOR}</a># ELSE #${LangLoader::get_message('visitor', 'user-common')}# ENDIF # 118 # IF top_poster.AUTHOR #<a href="{top_poster.LINK_AUTHOR_PROFILE}" class="{top_poster.AUTHOR_LEVEL_CLASS}" # IF top_poster.C_AUTHOR_GROUP_COLOR # style="color:{top_poster.AUTHOR_GROUP_COLOR}" # ENDIF #>{top_poster.AUTHOR}</a># ELSE #${LangLoader::get_message('visitor', 'user-common')}# ENDIF #
119 </td> 119 </td>
120 <td> 120 <td>
121 {top_poster.USER_BUGS} 121 {top_poster.USER_BUGS}
122 </td> 122 </td>
123 </tr> 123 </tr>
124 # END top_poster # 124 # END top_poster #
125 </tbody> 125 </tbody>
126 </table> 126 </table>
127 # ELSE # 127 # ELSE #
128 <div class="notice">{@notice.no_bug}</div> 128 <div class="message-helper notice">{@notice.no_bug}</div>
129 # ENDIF # 129 # ENDIF #
130 </div> 130 </div>
131</section> 131</section>
132# ENDIF # 132# ENDIF #
Editor
Original Text
Changed Text
Recommended videos