Skip to content

Commit d4f6904

Browse files
committed
0.42:
- switched to share extras namespace - some comments and jsdoc review - aligned rowsPerPage / defaultRowsPerPage data types git-svn-id: https://share-extras.googlecode.com/svn/trunk/Sandbox/Audit Dashlet@867 a3f5c567-fd0f-3a89-9b71-a290c5a5f590
1 parent 0f4c707 commit d4f6904

28 files changed

+686
-503
lines changed

README.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ of the dashboard and drag the dashlet into one of the columns from the list of d
115115
Changelog
116116
---------
117117

118+
0.42:
119+
- switched to share extras namespace
120+
- some comments and jsdoc review
121+
- aligned rowsPerPage / defaultRowsPerPage data types
122+
- merged some build.xml changes from upstream
123+
118124
0.41:
119125
- better IE support
120126
- some css cleanup

build.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
build.version=0.41
2-
project.name=sample-audit-dashlet
1+
build.version=0.42
2+
project.name=audit-dashlet
33
jar.name=${project.name}-${build.version}.jar

build.xml

Lines changed: 450 additions & 343 deletions
Large diffs are not rendered by default.

config/alfresco/site-webscripts/org/alfresco/components/dashlets/audit-application.get.head.ftl

Lines changed: 0 additions & 5 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<#include "/org/alfresco/components/component.head.inc">
2+
<!-- Audit Application dashlet -->
3+
<@script type="text/javascript" src="${page.url.context}/modules/simple-dialog.js"></@script>
4+
<@link rel="stylesheet" type="text/css" href="${page.url.context}/res/extras/components/dashlets/audit-application.css" />
5+
<@script type="text/javascript" src="${page.url.context}/res/extras/components/dashlets/audit-application.js"></@script>
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<#assign default_height=320>
22
<#assign el=args.htmlid?js_string>
33
<script type="text/javascript">//<![CDATA[
4-
new Alfresco.dashlet.AuditApplication("${el}").setOptions(
4+
new Extras.dashlet.AuditApplication("${el}").setOptions(
55
{
66
"componentId": "${instance.object.id}",
77
"application": "${args.application!''}",
@@ -34,14 +34,17 @@
3434
<div class="toolbar yui-toolbar" id="${el}-toolbar">
3535
<div class="links spaced-height" id="${el}-links">
3636
<#-- ie7 float bug : the align-right floated element must be declared before the non-floated (left) one... -->
37-
<span class="spaced-more-left custom-align-right">
37+
<span class="custom-align-right">
3838
<a class="theme-color-1" href="${msg("audit.dashlet.link.help.url")}" id="${el}-help-link" target="_blank">${msg("audit.dashlet.link.help")}</a>
3939
</span>
4040

4141
<#if userHasConfigPermission && userIsAdmin>
42-
<span class="first-child">
42+
<#-- for some reason, ie6 ignores the inherited left padding of the link -- wrap in a specific span if on ie6 -->
43+
<!--[if IE 6]> <span class="spaced-left"> <![endif]-->
44+
<span>
4345
<a class="theme-color-1" href="#" id="${el}-configure-link">${msg("audit.dashlet.link.configure")}</a>
4446
</span>
47+
<!--[if IE 6]> </span> <![endif]-->
4548
</#if>
4649
</div>
4750
</div>

0 commit comments

Comments
 (0)