Switch to unified view

a/views/result.tpl b/views/result.tpl
...
...
22
        <a href="{{url.replace('/'+d['filename'],'')}}">{{urllabel}}</a>
22
        <a href="{{url.replace('/'+d['filename'],'')}}">{{urllabel}}</a>
23
    </div>
23
    </div>
24
%if hasrclextract:
24
%if hasrclextract:
25
    <div class="search-result-links">
25
    <div class="search-result-links">
26
    <a href="/preview/{{number-1}}?{{query_string}}" target="_blank">Preview</a>
26
    <a href="/preview/{{number-1}}?{{query_string}}" target="_blank">Preview</a>
27
    <a href="/edit/{{number-1}}?{{query_string}}">Download/Open</a>
27
    <a href="/download/{{number-1}}?{{query_string}}">Download</a>
28
    </div>
28
    </div>
29
%end
29
%end
30
    <div class="search-result-date">{{d['time']}}</div>
30
    <div class="search-result-date">{{d['time']}}</div>
31
    %for q in shlex.split(query['query'].replace("'","\\'")):
31
    %for q in shlex.split(query['query'].replace("'","\\'")):
32
        %if not q == "OR":
32
        %if not q == "OR":