[gnome-getting-started-docs] Use conditionalized content for downstream in gs-browse-web



commit ac0686dfd7515e5a7705b594736dab1a59f9c0cc
Author: Petr Kovar <pkovar redhat com>
Date:   Tue Aug 16 13:11:41 2016 +0200

    Use conditionalized content for downstream in gs-browse-web
    
    Distributors might want to add their distro there if they ship
    Firefox by default.

 gnome-help/C/gs-browse-web.page |   55 ++++++++++++++++++++++++++++++++++++--
 gnome-help/C/gs-get-online.page |    2 +-
 2 files changed, 53 insertions(+), 4 deletions(-)
---
diff --git a/gnome-help/C/gs-browse-web.page b/gnome-help/C/gs-browse-web.page
index a127249..71c74e1 100644
--- a/gnome-help/C/gs-browse-web.page
+++ b/gnome-help/C/gs-browse-web.page
@@ -1,7 +1,8 @@
 <page xmlns="http://projectmallard.org/1.0/";
+      xmlns:if="http://projectmallard.org/if/1.0/";
       xmlns:ui="http://projectmallard.org/experimental/ui/";
       xmlns:its="http://www.w3.org/2005/11/its";
-      type="topic" style="ui" id="gs-browse-web">
+      type="topic" style="ui" id="gs-browse-web" version="1.0 if/1.0">
 
   <info>
     <include href="gs-legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
@@ -11,14 +12,51 @@
     <credit type="author">
       <name>Petr Kovar</name>
     </credit>
-<!--Distributors might need to comment out the two elements below if they
-    don't ship GNOME's Web browser by default.-->
     <link type="guide" xref="getting-started" group="tasks"/>
     <title role="trail" type="link">Browse the web</title>
+    <link type="seealso" xref="net-browser"/>
+    <title role="seealso" type="link">A tutorial on browsing the web</title>
+    <link type="next" xref="gs-connect-online-accounts"/>
   </info>
 
   <title>Browse the web</title>
 
+<if:choose>
+<if:when test="platform:gnome-classic">
+
+    <media its:translate="no" type="image" mime="image/svg"
+    src="gs-web-browser1-firefox-classic.svg" width="100%" />
+
+    <steps>
+      <item><p>Click the <gui>Applications</gui> menu at the top left of the
+      screen.</p></item>
+      <item><p>From the menu, select <guiseq><gui>Internet</gui><gui>Firefox</gui>
+      </guiseq>.</p></item>
+    </steps>
+
+</if:when>
+
+<!--Distributors might want to add their distro here if they ship Firefox by default.-->
+<if:when test="platform:fedora, platform:rhel, platform:centos">
+
+    <media its:translate="no" type="image" mime="image/svg"
+    src="gs-web-browser1-firefox.svg" width="100%" />
+
+    <steps>
+      <item><p>Move your mouse pointer to the <gui>Activities</gui> corner at
+      the top left of the screen to show the <gui>Activities Overview</gui>.
+      </p></item>
+      <item><p>Select the <app>Firefox</app> browser icon from the bar on the
+      left-hand side of the screen.</p></item>
+    </steps>
+
+    <note><p>Alternatively, you can launch the browser by <link 
+    xref="gs-use-system-search">just typing</link> <em>Firefox</em> in the
+    <gui>Activities Overview</gui>.</p></note>
+
+</if:when>
+<if:when test="platform:gnome-3">
+
     <media its:translate="no" type="image" mime="image/svg"
     src="gs-web-browser1.svg" width="100%" />
 
@@ -37,6 +75,17 @@
     <media its:translate="no" type="image" mime="image/svg"
     src="gs-web-browser2.svg" width="100%" />
 
+</if:when>
+</if:choose>
+
+<!--Distributors might want to add their distro here if they ship Firefox by default.-->
+<if:if test="platform:gnome-classic, platform:fedora, platform:rhel, platform:centos">
+
+    <media its:translate="no" type="image" mime="image/svg"
+    src="gs-web-browser2-firefox.svg" width="100%" />
+
+</if:if>
+
     <steps style="continues">
       <item><p>Click the address bar at the top of the browser window and start
        typing in the website you want to visit.</p></item>
diff --git a/gnome-help/C/gs-get-online.page b/gnome-help/C/gs-get-online.page
index 1578f36..4b23d8c 100644
--- a/gnome-help/C/gs-get-online.page
+++ b/gnome-help/C/gs-get-online.page
@@ -15,7 +15,7 @@
     <title role="trail" type="link">Get online</title>
     <link type="seealso" xref="net"/>
     <title role="seealso" type="link">A tutorial on getting online</title>
-    <link type="next" xref="gs-connect-online-accounts"/>
+    <link type="next" xref="gs-browse-web"/>
   </info>
 
   <title>Get online</title>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]