Permalink
Browse files

fixed rss feed for plugins homepage and rating component bug

  • Loading branch information...
graemerocher committed Nov 17, 2009
1 parent 18b3db6 commit 5cbb589a7042886086ad9f4f67fb6fd9a5fc20ce
@@ -1,5 +1,5 @@
#Grails Metadata file
#Mon Nov 16 16:40:13 CET 2009
#Tue Nov 17 09:23:28 CET 2009
app.grails.version=1.2-SNAPSHOT
app.name=site
app.servlet.version=2.4
@@ -14,7 +14,7 @@ plugins.hibernate=1.2-SNAPSHOT
plugins.jsecurity=0.3
plugins.mail=0.5
plugins.quartz=0.4.1-SNAPSHOT
plugins.rateable=0.6.1
plugins.rateable=0.6.2
plugins.richui=0.6
plugins.screencasts=0.4
plugins.searchable=0.5.4
@@ -6,8 +6,8 @@
<g:javascript src="common/application.js"/>
<g:render template="/content/analytics" />
<link rel="stylesheet" href="${createLinkTo(dir: 'css/new', file: 'master.css')}" type="text/css" />
<link rel="stylesheet" href="${createLinkTo(dir: 'css/new', file: 'plugins.css')}" type="text/css" />
<link rel="stylesheet" href="${resource(dir: 'css/new', file: 'master.css')}" type="text/css" />
<link rel="stylesheet" href="${resource(dir: 'css/new', file: 'plugins.css')}" type="text/css" />
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
<link rel="icon" href="/images/favicon.ico" type="image/x-icon">
@@ -1,6 +1,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<feed:meta kind="atom" version="1.0" controller="plugin" action="feed"/>
<feed:meta kind="rss" version="2.0" controller="plugin" action="latest" params="[format:'rss']"/>
<feed:meta kind="atom" version="1.0" controller="plugin" action="latest" params="[format:'atom']"/>
<rateable:resources />
<link rel="stylesheet" href="${resource(dir: 'css', file: 'ratings.css')}"/>
@@ -15,7 +15,14 @@
<h1 id="pluginBoxTitle">${plugin?.title}</h1>
<div class="ratingBox">
<rateable:ratings bean="${plugin}"/>
<jsec:isLoggedIn>
<rateable:ratings bean="${plugin}"/>
</jsec:isLoggedIn>
<jsec:isNotLoggedIn>
<div id="ratingDisplay">
<rateable:ratings bean="${plugin}" active="false" href="${createLink(controller:'user', action:'login', params:[originalURI:request.forwardURI])}"/>
</div>
</jsec:isNotLoggedIn>
</div>
@@ -81,7 +88,7 @@
<jsec:isLoggedIn>
<gui:dialog id='addTagDialog'
title='Add Tags'
form='true' controller='plugin' action='addTag' params="${[id:plugin.id]}"
form='true' url="${ '\''+createLink(controller:'plugin', action:'addTag', params:[id:plugin.id])+'\'' }"
triggers="[show:[id:'addTagTrigger',on:'click']]"
update='pluginTags'
>
@@ -237,3 +237,9 @@ color: black; border: inherit; text-decoration: none;
background-color:#E8E8E8;
padding:3px;
}
#ratingDisplay {
z-index:999;
}
#ratingDisplay table{
width:100px;
}

0 comments on commit 5cbb589

Please sign in to comment.