Skip to content
This repository has been archived by the owner on Feb 16, 2019. It is now read-only.

Commit

Permalink
minor #221 The "line" word was shown twice in method line link (aik099)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.3-dev branch.

Discussion
----------

The "line" word was shown twice in method line link

The `method_source_link` macro already returns `line X` or `<a href="...">line X</a>` and adding one more `line` word in front of it's result is redundant.

![2016-06-25_2053](https://cloud.githubusercontent.com/assets/1277526/16358306/023471ea-3b18-11e6-80ad-62a2f49fa2b3.png)

Commits
-------

aee8cf4 The "line" word was shown twice in method line link
  • Loading branch information
fabpot committed Jun 28, 2016
2 parents 5e4d6ec + aee8cf4 commit 5806ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sami/Resources/themes/default/class.twig
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@

{% block method %}
<h3 id="method_{{ method.name|raw }}">
<div class="location">{% if method.class is not same as(class) %}in {{ method_link(method, false, true) }} {% endif %}at line {{ method_source_link(method) }}</div>
<div class="location">{% if method.class is not same as(class) %}in {{ method_link(method, false, true) }} {% endif %}at {{ method_source_link(method) }}</div>
<code>{{ block('method_signature') }}</code>
</h3>
<div class="details">
Expand Down

0 comments on commit 5806ad2

Please sign in to comment.