Skip to content

Commit

Permalink
Display organization details (tooltip) when hovering organization lin…
Browse files Browse the repository at this point in the history
…k. (#55)
  • Loading branch information
gbastien committed Aug 31, 2018
1 parent 06f1623 commit 3279241
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Changelog
- On persons listed on the directory view, display held_positions when hovering
person title (tooltip).
[gbastien]
- Display organization details (tooltip) when hovering organization link.
- Make it easy to override the way sub organizations are displayed on an
organization by calling a @@suborganizations view.
[gbastien]
Expand Down
2 changes: 1 addition & 1 deletion src/collective/contact/core/browser/templates/directory.pt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<h2><tal:block i18n:translate="">Organizations</tal:block>:</h2>
<ul>
<tal:block tal:repeat="organization view/organizations">
<li><a tal:attributes="href organization/getURL">
<li><a class="link-tooltip" tal:attributes="href organization/getURL">
<img tal:attributes="src organization/getIconURL" />
<span tal:replace="organization/Title"
i18n:translate="" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<label><tal:block i18n:translate="">Parent organizations</tal:block>:</label>
<ul>
<tal:block tal:repeat="organization view/parent_organizations">
<li><img tal:attributes="src organization/getIconURL" /> <a tal:attributes="href organization/absolute_url">
<li><img tal:attributes="src organization/getIconURL" /> <a class="link-tooltip" tal:attributes="href organization/absolute_url">
<span tal:replace="organization/Title"
i18n:translate="" />
</a></li>
Expand Down

0 comments on commit 3279241

Please sign in to comment.