grammar fixes and other minutia
Change-Id: I48d4fa3dddd199ad4c66a6ee8a73bbaeff08fa62
This commit is contained in:
@@ -380,7 +380,7 @@ epub_copyright = u'2012, OpenStack'
|
||||
# The scheme of the identifier. Typical schemes are ISBN or URL.
|
||||
#epub_scheme = ''
|
||||
|
||||
# The unique identifier of the text. This can be a ISBN number
|
||||
# The unique identifier of the text. This can be an ISBN number
|
||||
# or the project homepage.
|
||||
#epub_identifier = ''
|
||||
|
||||
|
||||
@@ -84,10 +84,10 @@ class UploadObject(tables.LinkAction):
|
||||
def get_link_url(self, datum=None):
|
||||
# Usable for both the container and object tables
|
||||
if getattr(datum, 'container', datum):
|
||||
# This is an Container
|
||||
# This is a container
|
||||
container_name = http.urlquote(datum.name)
|
||||
else:
|
||||
# This is a table action and we already have the container name
|
||||
# This is a table action, and we already have the container name
|
||||
container_name = self.table.kwargs['container_name']
|
||||
subfolders = self.table.kwargs.get('subfolder_path', '')
|
||||
args = (http.urlquote(bit) for bit in
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
* "header"
|
||||
*
|
||||
* @option String cssAsc (optional) A string of the class name to be appended to
|
||||
* sortable tr elements in the thead on a ascending sort. Default value:
|
||||
* sortable tr elements in the thead on an ascending sort. Default value:
|
||||
* "headerSortUp"
|
||||
*
|
||||
* @option String cssDesc (optional) A string of the class name to be appended
|
||||
@@ -855,7 +855,7 @@
|
||||
return (isNaN(i)) ? 0 : i;
|
||||
};
|
||||
this.isDigit = function (s, config) {
|
||||
// replace all an wanted chars and match.
|
||||
// replace all unwanted chars and match.
|
||||
return /^[-+]?\d*$/.test($.trim(s.replace(/[,.']/g, '')));
|
||||
};
|
||||
this.clearTableBody = function (table) {
|
||||
|
||||
@@ -254,7 +254,7 @@ class LinkAction(BaseAction):
|
||||
.. attribute:: url
|
||||
|
||||
A string or a callable which resolves to a url to be used as the link
|
||||
target. You must either define the ``url`` attribute or a override
|
||||
target. You must either define the ``url`` attribute or override
|
||||
the ``get_link_url`` method on the class.
|
||||
|
||||
.. attribute:: allowed_data_types
|
||||
|
||||
Reference in New Issue
Block a user