[dw-free] Search for several interests at once
[commit: http://hg.dwscoalition.org/dw-free/rev/1dc28b858eb4]
http://bugs.dwscoalition.org/show_bug.cgi?id=2821
List the actual interests that are new, instead of just stating how many
interests there are.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2821
List the actual interests that are new, instead of just stating how many
interests there are.
Patch by
Files modified:
- views/interests/int.tt
- views/interests/int.tt.text
--------------------------------------------------------------------------------
diff -r f86704c1b6d3 -r 1dc28b858eb4 views/interests/int.tt
--- a/views/interests/int.tt Mon Nov 07 17:40:51 2011 +0800
+++ b/views/interests/int.tt Mon Nov 07 17:46:20 2011 +0800
@@ -99,7 +99,7 @@
[%- '.nocomms2' | ml(aopts = "href='$site.root/community/create'", num = query_count) %]</p>
<p class='interestinfo'>
[%- IF no_users -%]
- [%- '.nousers2' | ml(aopts = "href='$site.root/interests?mode=addnew&keyword=$no_users'", num = no_users_count) %]</p>
+ [%- '.nousers3' | ml(aopts = "href='$site.root/interests?mode=addnew&keyword=$no_users'", num = no_users_count, interests = no_users ) %]</p>
[%- ELSE -%]
[%- '.notall' | ml %]</p>
[%- FOREACH not_interested -%]
diff -r f86704c1b6d3 -r 1dc28b858eb4 views/interests/int.tt.text
--- a/views/interests/int.tt.text Mon Nov 07 17:40:51 2011 +0800
+++ b/views/interests/int.tt.text Mon Nov 07 17:46:20 2011 +0800
@@ -31,6 +31,6 @@
.notall=There are no users matching all of the interests you specified. You may want to modify your search.
-.nousers2=No one currently has [[num]] of the interests you're searching for. If you're interested, <a [[aopts]]>click here to add [[?num|the new interest|all of the new interests]] to your profile</a>.
+.nousers3=No one currently has [[num]] of the interests you're searching for. If you're interested, <a [[aopts]]>click here to add "[[interests]]" to your profile</a>.
.title=Interests
--------------------------------------------------------------------------------
