From 348f43157ae3733b572e420ada9883ae34826328 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 30 Dec 2012 22:58:05 +0100 Subject: [PATCH] Vier: Some templates were missing --- .gitignore | 9 ++- view/theme/vier/profile_edlink.tpl | 1 + view/theme/vier/smarty3/profile_edlink.tpl | 1 + view/theme/vier/smarty3/profile_vcard.tpl | 65 ++++++++++++++++++++++ view/theme/vier/smarty3/wall_thread.tpl | 8 ++- 5 files changed, 80 insertions(+), 4 deletions(-) create mode 100644 view/theme/vier/profile_edlink.tpl create mode 100644 view/theme/vier/smarty3/profile_edlink.tpl create mode 100644 view/theme/vier/smarty3/profile_vcard.tpl diff --git a/.gitignore b/.gitignore index 358114a444..038ac32a55 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,11 @@ report/ #ignore OSX .DS_Store files .DS_Store -/nbproject/private/ \ No newline at end of file +/nbproject/private/ + +#ignore smarty cache +/view/smarty3/compiled/ + +#ignore cache folders +/privacy_image_cache/ +/photo/ diff --git a/view/theme/vier/profile_edlink.tpl b/view/theme/vier/profile_edlink.tpl new file mode 100644 index 0000000000..5bdbb834a5 --- /dev/null +++ b/view/theme/vier/profile_edlink.tpl @@ -0,0 +1 @@ +
diff --git a/view/theme/vier/smarty3/profile_edlink.tpl b/view/theme/vier/smarty3/profile_edlink.tpl new file mode 100644 index 0000000000..5bdbb834a5 --- /dev/null +++ b/view/theme/vier/smarty3/profile_edlink.tpl @@ -0,0 +1 @@ +
diff --git a/view/theme/vier/smarty3/profile_vcard.tpl b/view/theme/vier/smarty3/profile_vcard.tpl new file mode 100644 index 0000000000..b02a3a5c69 --- /dev/null +++ b/view/theme/vier/smarty3/profile_vcard.tpl @@ -0,0 +1,65 @@ +
+ +
+
{{$profile.name}}
+ {{if $profile.edit}} +
+ {{$profile.edit.1}} + +
+ {{else}} +
+ {{/if}} +
+ + +
{{$profile.name}}
+ {{if $pdesc}}
{{$profile.pdesc}}
{{/if}} + + + {{if $location}} +
{{$location}}

+
+ {{if $profile.address}}
{{$profile.address}}
{{/if}} + + {{$profile.locality}}{{if $profile.locality}}, {{/if}} + {{$profile.region}} + {{$profile.postal-code}} + + {{if $profile.country-name}}{{$profile.country-name}}{{/if}} +
+
+ {{/if}} + + {{if $gender}}
{{$gender}}
{{$profile.gender}}
{{/if}} + + {{if $profile.pubkey}}{{/if}} + + {{if $marital}}
{{$marital}}
{{$profile.marital}}
{{/if}} + + {{if $homepage}}
{{$homepage}}
{{$profile.homepage}}
{{/if}} + + {{include file="diaspora_vcard.tpl"}} + + +
+ +{{$contact_block}} + + diff --git a/view/theme/vier/smarty3/wall_thread.tpl b/view/theme/vier/smarty3/wall_thread.tpl index 07a7a50f85..386164f18c 100644 --- a/view/theme/vier/smarty3/wall_thread.tpl +++ b/view/theme/vier/smarty3/wall_thread.tpl @@ -111,7 +111,7 @@ {{/if}} -
{{$item.location}}
+
{{$item.location}} {{$item.postopts}}
{{if $item.drop.pagedrop}} @@ -128,14 +128,16 @@
- +
{{$item.dislike}}
{{if $item.threaded}}{{if $item.comment}}
- + -- 2.39.5