patch.old_file_path) if patch.old_sha else None
            %>
            % if previours_commit:
                <a href="${previours_commit.get_url_with_path(patch.old_file_path)}#diff-0" \
                  class="minibutton">Previous</a>
            % endif
            <a href="/${project.name}/blob/${patch.new_sha}/${patch.new_file_path}" class="grouped-button minibutton bigger lighter" rel="nofollow">
                Current
            </a>
            <a href="javascript:void(0);" class="minibutton 