-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchanges.ejs
32 lines (32 loc) · 1.13 KB
/
changes.ejs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<%- include _header %>
<div id="content-wrapper">
<!-- Main content goes here -->
<div class="mui--appbar-height"></div>
<div class="mui-container-fluid mui-col-sm-10 mui-col-sm-offset-1">
<br>
<h2>近期变更</h2>
<% commits.forEach(function(commit) { %>
<div class="row">
<div class="mui-col-md-12">
<b><%= commit.subject %></b>
<br/>
<small><code><%= commit.abbrevHash %></code> by <%= commit.committerName %> on <%= commit.committerDate %></small>
</div>
<% if (commits.files !== undefined) { %>
<div class="mui-col-md-10 mui-col-md-offset-1">
<ul class="mui-list--unstyled">
<% commit.files.forEach(function(f) { %>
<li>
<a href="<%= config['base'].path + config['dir'].raw %>/<%= f %>" target="_self">
<%= f %>
</a>
</li>
<% }) %>
</ul>
</div>
<% } %>
</div>
<% }) %>
</div>
</div>
<%- include _footer %>