Commit ba98ce4b authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Elimina helper en desuso, revisa título de contact

parent ca156bcf
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@ module.exports = function(grunt) {
				compilerOptions: {
					knownHelpers: {
						// legacy (ir eliminando)
						DetailsTitle: true,
						TimeCumulative: true,
						Progress: true,
						GroupIcon: true,
+2 −2
Original line number Diff line number Diff line
<div class="header">
	<h2>
	<h1 title='{{data.firstName}} {{data.surname}}'>
		{{data.firstName}} {{data.surname}}
	</h2>
	</h1>
</div>
+3 −3
Original line number Diff line number Diff line
<div class="header">
	<h1 title='{{DetailsTitle data}}'>
		{{DetailsTitle data}}
	<h1 title='{{#if data.title}}{{data.title}}{{else}}{{data.name}}{{/if}}'>
		{{#if data.title}}{{data.title}}{{else}}{{data.name}}{{/if}}
	</h1>
</div>
+0 −5
Original line number Diff line number Diff line
@@ -599,11 +599,6 @@ define([
			}

			return new handlebars.SafeString(content);
		},

		'DetailsTitle': function(data) {

			return new handlebars.SafeString(data.title ? data.title : data.name);
		}
	};
});