-
-
Save flexd/333768cabcb5f7462ae2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> console.log("<tr><td>" + record.ident + "</td><td>" + record.first_name + " " + record.last_name + "</td><td>" + record.open_incidents + " åpne saker</td><td><button data-id='" + record.id + "' class='process_button btn btn-success btn-xs'>Behandle</button></td></tr>"); | |
<tr><td>u40302</td><td>Kristoffer Berdal</td><td>42 åpne saker</td><td><button data-id=1 class='process_button btn btn-success btn-xs'>Behandle</button></td></tr> | |
undefined | |
> console.log(Mark.up(processingTemplate, record)); | |
<tr> | |
<td>u40302</td> | |
<td>Kristoffer Berdal</td> | |
<td>42 åpne saker</td> | |
<td> | |
<button data-id=1 class="finish_button btn btn-success btn-xs">Fullfør</button> | |
<button data-id=1 class="new_incident btn btn-warning btn-xs">Ny sak</button> | |
</td> | |
</tr> | |
undefined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment