one, the ATOMS GUI claimed that the newest version was
installed.
+* bug 6976 fixed - ATOMS GUI: Webpages URLs linked with a module were missing
+ from the presentation frame.
+
* bug 6977 fixed - ATOMS GUI: In the presentation frame, URLs and emails were
not hyperlinked.
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
-"Revision-Date: 2010-05-18 15:22+0100\n"
+"Revision-Date: 2010-05-18 15:24+0100\n"
# File: macros/atomsAutoloadAdd.sci, line: 168
# File: macros/atomsAutoloadAdd.sci, line: 173
msgid "?"
msgstr ""
#
-# File: macros/atoms_gui/cbAtomsGui.sci, line: 290
+# File: macros/atoms_gui/cbAtomsGui.sci, line: 323
#, c-format
msgid "A new version (''%s'') of ''%s'' is available"
msgstr ""
msgid "Automatically Installed"
msgstr ""
#
-# File: macros/atoms_gui/cbAtomsGui.sci, line: 329
+# File: macros/atoms_gui/cbAtomsGui.sci, line: 362
msgid "Bytes"
msgstr ""
#
msgstr ""
#
# File: macros/atomsShow.sci, line: 99
-# File: macros/atoms_gui/cbAtomsGui.sci, line: 256
+# File: macros/atoms_gui/cbAtomsGui.sci, line: 285
msgid "Description"
msgstr ""
#
msgid "Installation failed!"
msgstr ""
#
-# File: macros/atoms_gui/cbAtomsGui.sci, line: 332
+# File: macros/atoms_gui/cbAtomsGui.sci, line: 365
msgid "KB"
msgstr ""
#
msgid "List of installed modules"
msgstr ""
#
-# File: macros/atoms_gui/cbAtomsGui.sci, line: 335
+# File: macros/atoms_gui/cbAtomsGui.sci, line: 368
msgid "MB"
msgstr ""
#
msgid "Scilab Version"
msgstr ""
#
+# File: macros/atoms_gui/cbAtomsGui.sci, line: 261
+msgid "See also"
+msgstr ""
+#
# File: macros/atomsShow.sci, line: 92
msgid "Status"
msgstr ""
msgstr ""
#
# File: macros/atomsShow.sci, line: 82
-# File: macros/atoms_gui/cbAtomsGui.sci, line: 251
+# File: macros/atoms_gui/cbAtomsGui.sci, line: 280
msgid "Version"
msgstr ""
#
msgid "Scilab Version"
msgstr "Version Scilab"
+#
+# File: macros/atoms_gui/cbAtomsGui.sci, line: 261
+msgid "See also"
+msgstr ""
+
msgid "Status"
msgstr "Statut"
authorHTML = authorHTML + "</div>";
+ // URLs (See also)
+ // =========================================================================
+
+ URLs = [];
+ seeAlsoHTML = "";
+
+ if isfield(thisModuleDetails,"URL") & (thisModuleDetails.URL<>"") then
+ URLs = [ URLs ; thisModuleDetails.URL ];
+ end
+
+ if isfield(thisModuleDetails,"WebSite") & (thisModuleDetails.WebSite<>"") then
+ URLs = [ URLs ; thisModuleDetails.WebSite ];
+ end
+
+ if ~isempty(URLs) then
+
+ seeAlsoHTML = "<div style=""font-weight:bold;margin-top:10px;margin-bottom:5px;"">" + ..
+ gettext("See also") + ..
+ "</div>" + ..
+ "<div>";
+
+ for i=1:size(URLs,"*")
+ seeAlsoHTML = seeAlsoHTML + " • "+URLs(i)+"<br>";
+ end
+
+ seeAlsoHTML = seeAlsoHTML + "</div>";
+
+ end
+
// Build and Set the HTML code
// =========================================================================
"<div>" + ..
strcat(thisModuleDetails.Description,"<br>") + ..
"</div>" + ..
+ seeAlsoHTML + ..
sizeHTML + ..
"</body>" + ..
"</html>";
--- /dev/null
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- TEST WITH ATOMS -->
+// <-- INTERACTIVE TEST -->
+//
+// <-- Non-regression test for bug 6976 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=6976
+//
+// <-- Short Description -->
+// Improve connexion from the GUI to the related ATOMS webpages.
+// In the Presentation frame: Add a "See also" or "Atoms webpage" section,
+// giving the related hyperlink. Ex: For the Matrix Market module, give
+// http://atoms.scilab.org/toolboxes/MatrixMarket
+// Or set this hyperlink on the module's title.
+// This would allow to easily access important infos that are presently not
+// accessible through the GUI, such as comments,download rate, supported OS, etc.
+
+atomsGui();
+
+// Select a module
+// Check the "See Also" section