From add0b09638c659f531b63f49c1978caa2f5e30f8 Mon Sep 17 00:00:00 2001 From: Jeff Williams Date: Sat, 22 Sep 2012 11:22:01 -0700 Subject: [PATCH] don't show "type" section if there are no types to display (#195) --- templates/default/tmpl/exceptions.tmpl | 4 ++-- templates/default/tmpl/method.tmpl | 4 ++-- templates/default/tmpl/params.tmpl | 4 ++-- templates/default/tmpl/properties.tmpl | 4 ++-- templates/default/tmpl/returns.tmpl | 4 ++-- templates/default/tmpl/type.tmpl | 15 ++++++--------- 6 files changed, 16 insertions(+), 19 deletions(-) diff --git a/templates/default/tmpl/exceptions.tmpl b/templates/default/tmpl/exceptions.tmpl index 426c07be..6cce8fc6 100644 --- a/templates/default/tmpl/exceptions.tmpl +++ b/templates/default/tmpl/exceptions.tmpl @@ -4,13 +4,13 @@ - +
Type
- +
\ No newline at end of file diff --git a/templates/default/tmpl/method.tmpl b/templates/default/tmpl/method.tmpl index 4f27c299..226f9040 100644 --- a/templates/default/tmpl/method.tmpl +++ b/templates/default/tmpl/method.tmpl @@ -14,11 +14,11 @@ - +
Type:
diff --git a/templates/default/tmpl/params.tmpl b/templates/default/tmpl/params.tmpl index 0c301e9a..420d99d0 100644 --- a/templates/default/tmpl/params.tmpl +++ b/templates/default/tmpl/params.tmpl @@ -72,8 +72,8 @@ - - + + diff --git a/templates/default/tmpl/properties.tmpl b/templates/default/tmpl/properties.tmpl index 2f5be2ab..0c700aba 100644 --- a/templates/default/tmpl/properties.tmpl +++ b/templates/default/tmpl/properties.tmpl @@ -72,8 +72,8 @@ - - + + diff --git a/templates/default/tmpl/returns.tmpl b/templates/default/tmpl/returns.tmpl index cbcaf3a8..6edf0618 100644 --- a/templates/default/tmpl/returns.tmpl +++ b/templates/default/tmpl/returns.tmpl @@ -4,13 +4,13 @@ - +
Type
- +
\ No newline at end of file diff --git a/templates/default/tmpl/type.tmpl b/templates/default/tmpl/type.tmpl index 781c1830..6c96d6b7 100644 --- a/templates/default/tmpl/type.tmpl +++ b/templates/default/tmpl/type.tmpl @@ -1,9 +1,6 @@ - - - - | - - \ No newline at end of file + + +| + \ No newline at end of file