diff --git a/app/views/tags/_pagination.html.erb b/app/views/tags/_pagination.html.erb new file mode 100644 index 00000000..888916ef --- /dev/null +++ b/app/views/tags/_pagination.html.erb @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/app/views/tags/_sidebar_tags.html.erb b/app/views/tags/_sidebar_tags.html.erb new file mode 100644 index 00000000..d64f1c29 --- /dev/null +++ b/app/views/tags/_sidebar_tags.html.erb @@ -0,0 +1,10 @@ +<% case show_flag%> +<% when '1' then %> +(<%= User.tagged_with("#{sg}").size %>) +<%when '2' then %> +(<%= Project.tagged_with(sg).size %>) +<% when '3' then %> +(<%= Issue.tagged_with("#{sg}").size %>) +<% when '4' then %> +(<%= Bid.tagged_with("#{sg}").size %>) +<% end %>