Switch to unified view

a/views/result.tpl b/views/result.tpl
...
...
20
        %end
20
        %end
21
        <a href="{{url.replace('/'+d['filename'],'')}}">{{urllabel}}</a>
21
        <a href="{{url.replace('/'+d['filename'],'')}}">{{urllabel}}</a>
22
    </div>
22
    </div>
23
%if hasrclextract:
23
%if hasrclextract:
24
    <div class="search-result-links">
24
    <div class="search-result-links">
25
    <a href="/preview/{{number-1}}?{{query_string}}" target="_blank">Preview</a>
25
    <a href="preview/{{number-1}}?{{query_string}}" target="_blank">Preview</a>
26
    <a href="/download/{{number-1}}?{{query_string}}">Download</a>
26
    <a href="download/{{number-1}}?{{query_string}}">Download</a>
27
    </div>
27
    </div>
28
%end
28
%end
29
    <div class="search-result-date">{{d['time']}}</div>
29
    <div class="search-result-date">{{d['time']}}</div>
30
    <div class="search-result-snippet">{{!d['snippet']}}</div>
30
    <div class="search-result-snippet">{{!d['snippet']}}</div>
31
</div>
31
</div>