Add link to object and print in lufbilder viewer

https://github.com/geoadmin/mf-geoadmin3/issues/1413
In all case, I would remove it since I don't want to rely on browser print.

I just tried the browser print on Mac Chrome 36, and the picture is
distorded:
[image: Inline image 1]



On Fri, Jul 4, 2014 at 9:39 AM, Gasser Loïc <notifications@github.com>
wrote:

> In chsdi/templates/luftbilder/viewer.mako:
>
> > @@ -87,6 +95,11 @@
> >      </div>
> >      <div class="footer">
> >        <a class="pull-left" href="${_('disclaimer url')}" target="_blank">Copyright</a>
> > +      <div class="pull-right">
> > +        <a class="link-red" href="${''.join((baseUrl, '?', layerBodId, '=', str(featureId), '&lang=', lang, '&topic=', topic))}" target="new">${_('Link to object')}</a>
> > +        &nbsp;|&nbsp;
> > +        <a href="javascript:window.print();">${_('print')}</a>
>
> We do have the css for the print browser and it looks good (same as in
> geoadmin). Give it a try in the actual viewer.
> But I can of course remove it.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/geoadmin/mf-chsdi3/pull/828/files#r14549842>.
>



-- 
Twitter: http://twitter.com/cedricmoullet
Linked In: http://www.linkedin.com/in/cedricmoullet

<http://twitter.com/cedricmoullet>