templates/githubpullrequest.mustache in onebox-1.5.2 vs templates/githubpullrequest.mustache in onebox-1.5.3

- old
+ new

@@ -1,73 +1,21 @@ {{#user.avatar_url}} <a href="{{user.html_url}}" target="_blank"> - <img alt="{{user.login}}" src="{{user.avatar_url}}" class="thumbnail onebox-avatar"> + <img alt="{{user.login}}" src="{{user.avatar_url}}" class="thumbnail onebox-avatar" width="90" height="90"> </a> {{/user.avatar_url}} <h4> <a href="{{html_url}}" target="_blank">{{title}}</a> </h4> -<div class='github-commit-status github-content-right' {{#inline_css}}style='margin-bottom:5px;padding: 10px;background: #F5F5F5;margin-left: 100px;border-radius: 5px;'{{/inline_css}}> - -<span class="status_tag {{pull_status_class}}" {{#inline_css}}style="background:{{pull_status_bgcolor}};color:#fff;display:inline-block;border-radius:3px;padding:1px 4px;font-weight:bold;margin-bottom:5px;"{{/inline_css}}> {{pull_status_str}} </span> - - - - - {{#build_status}} - <span class='build_status' {{#inline_css}}style='padding: 2px;font-size:12px'{{/inline_css}}>{{build_status}}</span> - {{/build_status}} - - <div class="github-commit-stats"> - <strong>{{commits}} commits</strong> - changed <strong>{{changed_files}} files</strong> - with <strong>{{additions}} additions</strong> - and <strong>{{deletions}} deletions</strong>. - </div> -</div> - -<div class="date github-content-right" {{#inline_css}}style='margin-left:100px;'{{/inline_css}}> +<div class="date"> by <a href="{{user.html_url}}" target="_blank">{{user.login}}</a> on <a href="{{html_url}}" target="_blank">{{created_at}}</a> </div> -{{! // Sample Styling - -.onebox-body .github-commit-status { - background: #F5F5F5; - border-radius: 5px; - margin:0px 0px 5px 100px; - padding: 10px; -} - -.onebox-body .status_tag { - display:inline-block; - color:#fff; - padding:1px 4px; - border-radius:3px; - font-weight:bold; - margin-bottom:5px; - text-transform:capitalize; -} - -.onebox-body .build_status -{ - padding: 2px; - font-size:12px; -} - -.onebox-body .status_tag.open { - background-color:#6cc644; -} -.onebox-body .status_tag.merged{ - background-color:#6e5494; -} -.onebox-body .status_tag.closed { - background-color:#bd2c00; -} - -.onebox-body .github-content-right{ - margin-left:100px; -} -}} \ No newline at end of file +<div class="github-commit-stats"> + <strong>{{commits}} commits</strong> + changed <strong>{{changed_files}} files</strong> + with <strong>{{additions}} additions</strong> + and <strong>{{deletions}} deletions</strong>. +</div>