diff --git a/src/Mod/Start/StartPage/FreeCAD.png b/src/Mod/Start/StartPage/FreeCAD.png old mode 100755 new mode 100644 index a7a53c347..13674de03 Binary files a/src/Mod/Start/StartPage/FreeCAD.png and b/src/Mod/Start/StartPage/FreeCAD.png differ diff --git a/src/Mod/Start/StartPage/StartPage.py b/src/Mod/Start/StartPage/StartPage.py index df4590def..6babc79e5 100644 --- a/src/Mod/Start/StartPage/StartPage.py +++ b/src/Mod/Start/StartPage/StartPage.py @@ -51,7 +51,7 @@ text01 = translate("StartPage","FreeCAD Start Center") text02 = translate("StartPage","Start a new project") text03 = translate("StartPage","Recent Files") text04 = translate("StartPage","Latest videos") -text05 = translate("StartPage","Latest news") +text05 = translate("StartPage","Latest commits") text06 = translate("StartPage","On the web") text07 = translate("StartPage","This is the FreeCAD Homepage. Here you will be able to find a lot of information about FreeCAD, including tutorials, examples and user documentation.") text08 = translate("StartPage","FreeCAD Homepage") @@ -107,6 +107,9 @@ text57 = translate("StartPage","http://www.freecadweb.org/wiki/index.php?title=P text58 = translate("StartPage","Your version of FreeCAD is up to date.") text59 = translate("StartPage","There is a new release of FreeCAD available.") text60 = translate("StartPage","Load an FEM example analysis") +text61 = translate("StartPage","Obtain a development version") +text62 = translate("StartPage","Development versions are made available by community members from time to time and usually contain the latest changes, but are more likely to contain bugs.") +text63 = translate("StartPage","See all commits") # get FreeCAD version @@ -173,9 +176,9 @@ page = """ var aminor = data[0]['minor']; var abuild = data[0]['build']; if (cmajor >= amajor && cminor >= aminor && cbuild >= abuild) { - vdiv.innerHTML=" """ + text58 + """ "; + vdiv.innerHTML=" """ + text58 + """: """ + vmajor + """.""" + vminor + """.""" + vbuild + """"; } else { - vdiv.innerHTML=" """ + text59 + """ "; + vdiv.innerHTML=" """ + text59 + """:"+amajor+"."+aminor+"."+abuild+""; } } @@ -183,7 +186,7 @@ page = """ // load latest news ddiv = document.getElementById("news"); ddiv.innerHTML = "Connecting..."; - var tobj=new JSONscriptRequest('http://pipes.yahoo.com/pipes/pipe.run?_id=da8b612e97a6bb4588b1ce27db30efd9&_render=json&_callback=showTweets'); + var tobj=new JSONscriptRequest('https://api.github.com/repos/FreeCAD/FreeCAD/commits?callback=showTweets'); tobj.buildScriptTag(); // Build the script tag tobj.addScriptTag(); // Execute (add) the script tag ddiv.innerHTML = "Downloading latest news..."; @@ -213,21 +216,16 @@ page = """ ddiv.innerHTML = "Received"; var html = ['