diff --git a/src/root/clone-jobset.tt b/src/root/clone-jobset.tt index 1440783a..386f06ed 100644 --- a/src/root/clone-jobset.tt +++ b/src/root/clone-jobset.tt @@ -9,7 +9,7 @@
- +
diff --git a/src/root/common.tt b/src/root/common.tt index 07a11488..d4174109 100644 --- a/src/root/common.tt +++ b/src/root/common.tt @@ -144,7 +144,7 @@ END; BLOCK maybeLink; - IF uri %] uri, class => class) %][% IF confirmmsg %]onclick="javascript:return confirm('[% confirmmsg %]')"[% END %]>[% content %][% ELSE; content; END; + IF uri %] uri, class => class); IF confirmmsg +%] onclick="javascript:return confirm('[% confirmmsg %]')"[% END %]>[% content %][% ELSE; content; END; END; @@ -164,7 +164,7 @@ BLOCK renderSelection; [% ELSE %] [% END; @@ -273,7 +273,7 @@ BLOCK renderDiffUri; url = bi1.uri; path = url.replace(base, ''); IF url.match(base) %] - [% contents %] + [% contents %] [% nouri = 0; END; END; @@ -282,7 +282,7 @@ BLOCK renderDiffUri; url = res.0; branch = res.1; IF bi1.type == "hg" || bi1.type == "git" %] - [% contents %] + [% contents %] [% ELSE; contents; END; @@ -464,7 +464,7 @@ BLOCK makeLazyTab %] $('.nav-tabs').bind('show', function(e) { var pattern = /#.+/gi; var id = e.target.toString().match(pattern)[0]; - if (id == "#[% tabName %]" && !tabsLoaded[id]) { + if (id == "#[% tabName %]" && !tabsLoaded[id]) { tabsLoaded[id] = 1; $('#[% tabName %]').load("[% uri %]", function(response, status, xhr) { if (status == "error") { diff --git a/src/root/edit-jobset.tt b/src/root/edit-jobset.tt index c7c98e95..43491d14 100644 --- a/src/root/edit-jobset.tt +++ b/src/root/edit-jobset.tt @@ -3,7 +3,7 @@ [% BLOCK renderJobsetInputAlt %] - alt.value, name => name) %]> + alt.value, name => name) %]/>
[% END %] @@ -11,7 +11,7 @@ - input.name) %]> + input.name) %]/> [% INCLUDE renderSelection curValue=input.type param="$baseName-type" options=inputTypes %] @@ -37,7 +37,7 @@ [% INCLUDE renderJobsetInput input=input baseName="input-$input.name" %] [% END %] - @@ -50,12 +50,12 @@
@@ -63,23 +63,23 @@
- jobset.name) %]> + jobset.name) %]/>
- jobset.description) %]> + jobset.description) %]/>
- jobset.nixexprpath) %]> + jobset.nixexprpath) %]/> in - jobset.nixexprinput) %]> + jobset.nixexprinput) %]/>
@@ -87,7 +87,7 @@
- jobset.checkinterval) %]> + jobset.checkinterval) %]/> sec
(0 to disable polling) @@ -97,7 +97,7 @@
@@ -105,14 +105,14 @@
- jobset.emailoverride) %]> + jobset.emailoverride) %]/>
- jobset.keepnr) %]> + jobset.keepnr) %]/>
diff --git a/src/root/edit-project.tt b/src/root/edit-project.tt index 4bac8c43..44565a22 100644 --- a/src/root/edit-project.tt +++ b/src/root/edit-project.tt @@ -8,12 +8,12 @@
@@ -21,35 +21,35 @@
- project.name) %]> + project.name) %]/>
- project.displayname) %]> + project.displayname) %]/>
- project.description) %]> + project.description) %]/>
- project.homepage) %]> + project.homepage) %]/>
- project.owner.username || c.user.username) %]> + project.owner.username || c.user.username) %]/>
diff --git a/src/root/edit-release.tt b/src/root/edit-release.tt index 7a324304..f5ab170f 100644 --- a/src/root/edit-release.tt +++ b/src/root/edit-release.tt @@ -9,14 +9,14 @@
- release.name) %]> + release.name) %]/>
- release.description) %]> + release.description) %]/>
@@ -30,7 +30,7 @@
- m.description) %]> + m.description) %]/>
diff --git a/src/root/edit-view.tt b/src/root/edit-view.tt index f55e14a6..301c0d45 100644 --- a/src/root/edit-view.tt +++ b/src/root/edit-view.tt @@ -26,14 +26,14 @@
- view.name) %]> + view.name) %]/>
- view.description) %]> + view.description) %]/>
diff --git a/src/root/jobset-jobs-tab.tt b/src/root/jobset-jobs-tab.tt index b27a084d..839c1f09 100644 --- a/src/root/jobset-jobs-tab.tt +++ b/src/root/jobset-jobs-tab.tt @@ -2,7 +2,7 @@