Skip to content

Commit

Permalink
[#1506][editresources][s]: Formatting hint.
Browse files Browse the repository at this point in the history
  • Loading branch information
teajaymars committed Feb 29, 2012
1 parent 945aa83 commit 6cf810d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ckan/public/css/style.css
Expand Up @@ -1558,6 +1558,7 @@ hr.resource-list-divide {
background: #eee;
}


/* HasErrors */
.resource-list li.hasErrors {
border-color: #c00;
Expand Down Expand Up @@ -1628,6 +1629,9 @@ button.resource-edit-delete {
padding: 0;
text-align: center;
}
.resource-panel .hint {
font-size: 11px;
}

.resource-details input[type="text"] {
width: 350px;
Expand Down
1 change: 1 addition & 0 deletions ckan/public/scripts/templates.js
Expand Up @@ -131,6 +131,7 @@ CKAN.Templates.resourceDetails = ' \
<td class="dataset-label" property="rdfs:label">'+CKAN.Strings.lastModified+'</td> \
<td class="dataset-details" property="rdf:value"> \
<input name="resources__${num}__last_modified" type="text" value="${resource.last_modified}" /> \
<div class="hint">Dates are in <a href="http://en.wikipedia.org/wiki/ISO_8601#Calendar_dates" target="_blank">ISO Format</a> &mdash; eg. <strong>2012-12-25</strong> or <strong>2010-05-31T14:30</strong>.</div> \
</td> \
</tr><tr> \
<td class="dataset-label" property="rdfs:label">'+CKAN.Strings.sizeBracketsBytes+'</td> \
Expand Down
1 change: 0 additions & 1 deletion ckan/templates/js_strings.html
Expand Up @@ -48,7 +48,6 @@
CKAN.Strings.id = "${_('ID')}";
CKAN.Strings.doneEditing = "${_('Done')}";
CKAN.Strings.resourceHasUnsavedChanges = "${_('This resource has unsaved changes.')}";


</script>

0 comments on commit 6cf810d

Please sign in to comment.