File web/diff.ecpp changed (mode: 100644) (index 8d1e3ff..d248253) |
... |
... |
along with uncov. If not, see <http://www.gnu.org/licenses/>. |
86 |
86 |
<div class="sidenav"> |
<div class="sidenav"> |
87 |
87 |
<a href="/builds">All builds</a> |
<a href="/builds">All builds</a> |
88 |
88 |
<a class="branch" href="/branches/<$ buildInfo[5] $>">Current branch</a> |
<a class="branch" href="/branches/<$ buildInfo[5] $>">Current branch</a> |
89 |
|
<a href="/builds/<$ build->getId() $>">Current build</a> |
|
|
89 |
|
<a href="/builds/<$ buildIdStr $>">Current build</a> |
90 |
90 |
<br/> |
<br/> |
91 |
91 |
<a class="action" href="/changes/<$ buildIdStr $>">Changed files</a> |
<a class="action" href="/changes/<$ buildIdStr $>">Changed files</a> |
92 |
92 |
</div> |
</div> |
|
... |
... |
along with uncov. If not, see <http://www.gnu.org/licenses/>. |
128 |
128 |
</h3> |
</h3> |
129 |
129 |
|
|
130 |
130 |
<h4> |
<h4> |
131 |
|
Path: <a class="path" href="/builds/<$ build->getId() $>"><root></a> |
|
|
131 |
|
Path: <a class="path" href="/builds/<$ buildIdStr $>"><root></a> |
132 |
132 |
% std::string pathPrefix; |
% std::string pathPrefix; |
133 |
133 |
% for (const std::string &entry : split(fileInfo[0], '/')) { |
% for (const std::string &entry : split(fileInfo[0], '/')) { |
134 |
134 |
% pathPrefix += '/' + entry; |
% pathPrefix += '/' + entry; |
135 |
135 |
% const std::string slash = pathPrefix == "/" + fileInfo[0] ? "" : "/"; |
% const std::string slash = pathPrefix == "/" + fileInfo[0] ? "" : "/"; |
136 |
136 |
/ <a class="path" |
/ <a class="path" |
137 |
|
href="/builds/<$ build->getId() $><$ pathPrefix + slash $>"><$ entry $></a> |
|
|
137 |
|
href="/builds/<$ buildIdStr $><$ pathPrefix + slash $>"><$ entry $></a> |
138 |
138 |
% } |
% } |
139 |
139 |
</h4> |
</h4> |
140 |
140 |
|
|
|
... |
... |
along with uncov. If not, see <http://www.gnu.org/licenses/>. |
181 |
181 |
|
|
182 |
182 |
% } else { |
% } else { |
183 |
183 |
% log_warn("Can't find requested file " + filePath + " in build #" |
% log_warn("Can't find requested file " + filePath + " in build #" |
184 |
|
% + std::to_string(buildId)); |
|
|
184 |
|
% + buildIdStr); |
185 |
185 |
<h1>No such file</h1> |
<h1>No such file</h1> |
186 |
186 |
% } |
% } |
187 |
187 |
% } else { |
% } else { |
188 |
|
% log_warn("Can't build preceding build #" + std::to_string(buildId)); |
|
|
188 |
|
% log_warn("Can't build preceding build #" + buildIdStr); |
189 |
189 |
<h1>No previous build</h1> |
<h1>No previous build</h1> |
190 |
190 |
% } |
% } |
191 |
191 |
% } else { |
% } else { |
192 |
|
% log_warn("Can't find requested build #" + std::to_string(buildId)); |
|
|
192 |
|
% log_warn("Can't find requested build #" + buildIdStr); |
193 |
193 |
<h1>No such build</h1> |
<h1>No such build</h1> |
194 |
194 |
% } |
% } |
195 |
195 |
|
|