Skip to content

Commit

Permalink
Small Refactorization:
Browse files Browse the repository at this point in the history
- Simplified code base by removing old reaction (github payload)
- Changed the RepoTest model to work better with Github and Travis available information
- Cleaned up Filters
  • Loading branch information
PonteIneptique committed Apr 6, 2017
1 parent a98fab2 commit 482305b
Show file tree
Hide file tree
Showing 7 changed files with 170 additions and 470 deletions.
10 changes: 0 additions & 10 deletions Hook/common.py

This file was deleted.

2 changes: 1 addition & 1 deletion Hook/data/templates/repo.html
Expand Up @@ -75,7 +75,7 @@ <h2>History and progression</h2>
<tr>
<td>{{test.run_at}}</td>
<td><a href="{{test.travis_uri}}">{{test.travis_build_id}}</a></td>
<td>{{test.branch|nice_ref(test.sha)}}</td>
<td>{{test|nice_link_to_source}}</td>
<td><img class="user user-20" src="{{test.travis_user_gravatar}}?s=20" alt="{{test.user}}" /></td>
<td>{{test.coverage}}</td>
<td>
Expand Down
2 changes: 1 addition & 1 deletion Hook/data/templates/report.html
Expand Up @@ -15,7 +15,7 @@ <h1 style="font-size: large;">
<div class="row">
<div class="col-md-3">
<ul class="list-unstyled">
<li>Branch: <span class="dd">{{test.branch|nice_branch}}</span></li>
<li>Event: <span class="dd">{{test|nice_link_to_source}}</span></li>
<li>Started: <span class="dd">{{test.run_at}}</span></li>
</ul>
</div>
Expand Down

0 comments on commit 482305b

Please sign in to comment.