Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse titles #20

Merged
merged 1 commit into from
Jun 20, 2013
Merged

Parse titles #20

merged 1 commit into from
Jun 20, 2013

Conversation

cboden
Copy link

@cboden cboden commented Jun 19, 2013

Attempt to parse cell title titles before displaying them.

I'm using Angular-Translate and would like to have my table header titles filtered. This PR will have the directive attempt to run the Angular parser on titles before they're displayed. A user's markup would look like this:

<table ng-table="tableParams">
    <tr ng-repeat="one in many">
        <td title="'FIRSTNAME' | translate">{{one.firstname}}</td>
        <td title="'LASTNAME' | translate">{{one.lastname}}</td>
        <td title="No parse run">{{one.hello}}</td>
        <td>Still works</td>
    </tr>
</table>

Attempt to parse cell title titles before displaying them
@esvit esvit merged commit 39bfc2e into esvit:master Jun 20, 2013
@esvit
Copy link
Owner

esvit commented Jun 20, 2013

Good idea 👍

cboden pushed a commit to cboden/ng-table that referenced this pull request Mar 12, 2014
esvit added a commit that referenced this pull request Mar 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants